How do we create a link to another page after the submit?
Posted: Fri Jul 07, 2006 8:32 am
This codes below is a portion of what I've pasted from my feedback.php . I already have the $headers declared above,
it means that I can't use another header function below.. so what should I do to redirect to another page after the feedback form is sent?
it means that I can't use another header function below.. so what should I do to redirect to another page after the feedback form is sent?
Code: Select all
$headers = "From: $FirstName $LastName \r\n";
$headers .= "Reply-To: $Email";
if (mail($recipient,$subject,$message,$headers)) {
headers ("Location: http://www.name.html");
} else {
echo "<p>I'm sorry $Title $FirstName $LastName, Mail NOT sent this time.</p>";
}