Home › Forums › Back End › Form Resubmission › Reply To: Form Resubmission
May 20, 2014 at 7:24 pm
#170751
Participant
Nevermind. I can just do this:
if($_POST){
$_SESSION['POST'] = $_POST;
header('Location: http://something.com');
exit;
}
if(isset($_SESSION['POST'])) {
$_POST = $_SESSION['POST'];
unset($_SESSION['POST']);
}
if(!empty($_POST)) {
//do database stuff here