Hello all,
Yes, it's me again! 😉
Say I 5 php forms, each page gets redirected like this:
Page 1:
$SESSION['POST_VARS'] = $POST;
header("location: page2.php");
exit();
Page 2:
$SESSION['POST_VARS'] = $POST;
header("location: page3.php");
exit();
.
.
.
Page 5
$SESSION['POST_VARS'] = $POST;
header("location: submit.php");
exit();
I wanna be able to clear out all posted values once the user reaches the page submit.php and that everything is inserted into the mysql database.
If they hit the back button on their browser and go back to page 5, there shouldn't be any posted value showing up anymore. Is this easy to do?