hi, im new to these forums and new to php. I made a simple email form to get use to some of the options in php but im having some issues. I would like to make the script redirect people to a url after they have submited the form. Heres the code i have which now only displays a thank you message, and thank you to those who help me
<?php
$message .= "Name: $name \r\n";
$message .= "Email: $email \r\n";
$message .= "Company: $company \r\n";
$message .= "Comments: $comments \r\n";
/ additional headers /
$headers .= "To: Branzone <mikeh@branzone.com>\r\n";
$headers .= "From: $name\r\n";
$headers .= "Cc: \r\n";
$headers .= "Bcc: \r\n";
/ send the email and redirect it back to index.html /
@mail("mikeh@branzone.com", "Website Contact Form", $message, $headers);
print("Thank You!");
?>