“Go Back” Button
Input button with inline JavaScript
<input type="button" value="Go Back!" onclick="history.back(-1)" />
PHP solution for the Back Button
<?php
$url = htmlspecialchars($_SERVER['HTTP_REFERER']);
echo "<a href='$url'>back</a>";
?>