I have a "Go back button":
$url = htmlspecialchars( $_SERVER['HTTP_REFERER'] );
echo "<a href='$url'>back</a>";
I need to display the page title of the $url
, something like this:
$url = htmlspecialchars( $_SERVER['HTTP_REFERER'] );
echo "<a href='$url'>Go back to the INSERT PAGE TITLE HERE</a>";
Does anyone know how to do this?