Seattle Web Design Seattle Web Design

PHP Go Back Button

 

My solution for you is using PHP and Server capabilty to keep track of your PHP pages.

Use followong code in your markup and see the magic

 

<?php
url = htmlspecialchars($_SERVER[‘HTTP_REFERER’]);
echo "<a href='$url'>back</a>";
?>

——————————————————





Leave a Reply

 
Kianoush Facebook Profile Kianoush Google Plus Profile Kianoush LinkedIn Profile Find Kianoush Twitter