Here's how to make a button with PHP that acts like a browser back arrow and take people to the previous page they were on! <?php $url = htmlspecialchars($_SERVER['HTTP_REFERER']); echo "<a href='$url'>back</a>"; ?> Enjoy!