Hi,
I am trying to incorporate this PHP script from the forum.
I want to change the last line in red where is says "Echo "Thank you..." to go to a thank you page, but I don't have the PHP programming skills any one help me?
<?PHP
$to = "
youremail@wherever.com";
$subject = "
Contact Form response";
$headers = "From:
Form Mailer";
$forward = 0;
$location = "";
$date = date ("l, F jS, Y");
$time = date ("h:i A");
 
 
$msg = "
Below is a message from your contact form submitted on $date at $time.\n\n";
if ($_SERVER['REQUEST_METHOD'] == "POST") {
foreach ($_POST as $key => $value) {
$msg .= ucfirst ($key) ." : ". $value . "\n";
}
}
else {
foreach ($_GET as $key => $value) {
$msg .= ucfirst ($key) ." : ". $value . "\n";
}
}
mail($to, $subject, $msg, $headers);
if ($forward == 1) {
header ("Location:$location");
}
else {
echo "
Thank you for contacting us. We will get back to you as soon as possible.";
}
?>
Jim