Hi to All,
Is this code can be done with link <a hef=''>?
<?php
echo "<form action='page.php' method='post'>";
echo "<input type='submit' name='submit' value='Go to Page'>";
echo "</form>";
if($_POST['submit']=="Go to Page")
{
}
?>
in the code above, once the user click the button, the page load and execute whatever script inside *if($_POST=="Go to Page")*. My question is that, instead of using button, i want to use a link <a href='page.php'>?
Any Idea? Please help.
Thanks a lot.