I have a simple POST script that I need to return to the page that was doing the Posting.
Is there any way to do it like this?
if($done) { //go to page }
Advertisement
Answer
if ($done) { header("Location: /url/to/the/other/page"); exit; }
I have a simple POST script that I need to return to the page that was doing the Posting.
Is there any way to do it like this?
if($done) { //go to page }
if ($done) { header("Location: /url/to/the/other/page"); exit; }