Hi guys,
this is my Contact Form Process, everything is working fine except the resilt page or the thank you page, i am trying to make my script to redirect the user to a thank you page but i cant , please need help thank you so much
code:
--------
<?php
/* Subject and Email Variables */
$emailSubject = 'Web Email-Form';
$webMaster = 'ooo@ppp21.com';
/* Gathering Data Variables*/
$nameField = $_POST['name'];
$emailField = $_POST['email'];
$commentsField = $_POST['comments'];
$body = <<<EOD
<br><hr><br>
<br>
Name: $name <br>
Email: $email <br>
Message: $comments <br>
EOD;
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
/* Result rendered
$theResults = 'http://www.abcde.com/contactResponse.php';
echo "$theResults";
?>
----- 
|