The title of this question kind of explains my question. How do I redirect the PHP page visitor back to their previous page with the header( \"Location: URL of previou
header( \"Location: URL of previou
Just try this in Javascript:
$previous = "javascript:history.go(-1)";
Or you can try it in PHP:
if(isset($_SERVER['HTTP_REFERER'])) { $previous = $_SERVER['HTTP_REFERER']; }