Home › Forums › Back End › Contact Form Submit › Re: Contact Form Submit
June 17, 2009 at 3:44 pm
#59284
TheDoc
Member
You’ll want to put something like this in:
Code:
$result = “../contact-success.php”;
$error = “../contact-error.php”;
$error = “../contact-error.php”;
if(mail($to, $subject, $message, $headers))
{
header(“Location: ” . $result);
}
else
{
header(“Location: ” . $error);
}
}