Here's a portion of my updated page.
On one page I have a form. When you click a button it will switch to my updated.php page.
What I would like it to do is go back to the page the person was on.
Here's the code I have now and it doesn't do anything
$rsUpdate = mysql_query($update);
if ($rsUpdate)
{
echo '<head><meta http-equiv="refresh" content="1; url= $_SERVER['http_referrer'];"></head>Calculations complete<br />Reloading in 1 seconds or click to go to the <a href="../index.php">Main Page</a>';
} mysql_close();
?>
?>
Doing this, will result in a 404 error with the url as .......days/$_SERVER[http_referrer];
Any idea on how after my update database code to automatically send the user back to the page they were on but refreshed?