[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

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
0
teera
Asked:
teera
  • 2
1 Solution
 
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now