PHP Auto response

PLEASE LOOK AT MY LAST POST - I’VE TRIED EVERYTHING AND NOTHING IS WORKING - THIS IS TURNING INTO AN EXTREAM SIT.

Hey guys… PHP is definitly not my strong point, so here’s the question:

I have a Flash form that sends a formatted email via a PHP script using this code:

<?
$to = "eamil@gmail.com";
$subject = "Calatrava Form Submission";
$name = $_POST['name'];
$address = $_POST['address'];
$phone = $_POST['phone'];
$email = $_POST['email'];
$hear = $_POST['hear'];
$housingPref = $_POST['housingPref'];
$price = $_POST['price'];

$message = "Form Submitted by: $name 
";
$message .= "Address: $address 
 ";
$message .= "Phone: $phone 
";
$message .= "Email: $email 
";
$message .= "Where they heard about this project: $hear 
"; 
$message .= "Housing Pref: $housingPref 
";
$message .= "Price Range: $price 
";
$header = "From: $name <$email>";

mail($to, $subject, $message, $header);

?>


I am wondering how I can modify the code so that it also sends an autoresponse email to the person that submitted the form data?

I’ve been looking online places, but havent found anything yet (well at least that I understand).

Peace