Here is the email script that I am using for a form on my site…
<?php
if(isset($_POST['submit'])) {
$to = "chase.wiseman@gmail.com";
$subject = "Contact Form Request";
$headers = "From: " . $_POST["fname"];
$headers .= "<" . $_POST["email"] . ">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$name_field = $_POST['name'];
$email_field = $_POST['email'];
$phone_field = $_POST['phone'];
$comments = $_POST['comments'];
$body = "From: $name_field
E-Mail: $email_field
Phone: $phone_field
Comments:
$comments";
echo "Data has been submitted to ZombieStomp Creative!";
mail($to, $subject, $body, $headers);
} else {
echo "Error!";
}
?>
My question is, how can I make it direct to another page that’s formatted and works with my design, rather than just display the default unformatted text echo? Any help would be appreciated!
-Filmguy