hyperlink php

How can i make Hyperlink only Goback   not  GobackYou have already submitted the form


echo "<br>";
echo " <h1><a href=village_borrowerpay.php>Goback" ;
echo "<br>";
 
if ($_SESSION['completed']==1) {die('You have already submitted the form!'); }
}
goback.JPG
teeraAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HuyBDCommented:
try this
echo '<br>';
echo ' <h1><a href="#" onclick="history.back(-1)">Goback';
echo '<br>';
 

Open in new window

0
teeraAuthor Commented:
I do not go back to history page I want to go to village_borrowerpay.php
the problem is it make a hyperlink until yo have already sub ....

0
HuyBDCommented:
try
if ($_SESSION['completed']==1) {
  echo '<a href="village_borrowerpay.php">You have already submitted the form!</a>'; }
}

Open in new window

0
Loganathan NatarajanLAMP DeveloperCommented:
try this,

echo "<br>";
echo " <h1><a href=village_borrowerpay.php>Goback</a></h1>" ;
echo "<br>";
 
if ($_SESSION['completed']==1) {die('You have already submitted the form!'); }
}


*************

you did not close the <a> ...</a> tag as well as <h1> ...</h1>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.