From my record insertion page I do, in some cases, this:
header("Location: http://$SERVER_NAME/mainpage.php?SID");
problem is that the mainpage.php doesn't takes new datas. I've to refresh
the page to see the new inserted record.
doing this:
header("Refresh: 0; URL=http://".$_SERVER['HTTP_HOST']."/mainpage.php?SID);
isn't considered a good alternative.
I want to redirect to the mainpage.php with refreshed datas.
How to do so ? may I keep Refresh header command or it will not work on some
browser ?
Bob