Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Contact Form Submit Re: Contact Form Submit

#59284
TheDoc
Member

You’ll want to put something like this in:

Code:
$result = “../contact-success.php”;
$error = “../contact-error.php”;

if(mail($to, $subject, $message, $headers))
{
header(“Location: ” . $result);
}
else
{
header(“Location: ” . $error);
}
}