“Go Back” Button
Browsers already have "back" buttons, so you'd better have a darn good reason for needing to put one on your page!
<input type="button" value="Go Back From Whence You Came!" onclick="history.back(-1)" />
<?php $url = htmlspecialchars($_SERVER['HTTP_REFERER']); echo "<a href='$url'>back</a>"; ?>