PHP submit form and send results back to emailer
<p>I'm not sure whats going wrong with this PHP processor scripted,I am using wamp and sendmail.exe with my gmail a/c to process this form,I want to send their results back, they enter there email address in field_23 and they should get their scores emailed. this is part of the processor.php Can anyone help please</p>

<p>Thanks</p>

<pre><code>'$ToEmail = 'mygmail@gmail.com';
 $mailheader = "From: ".$ToEmail."\r\n";
 $mailheader .= "Reply-To: ".$_POST["field_23"]."\r\n";
 mail($ToEmail, "From: " . $_POST['field_1'] . " Week: " . $_POST['field_2'] . " - Predict Scores","Form data:

 Name: " . $_POST['field_1'] . " 
 Week: " . $_POST['field_2'] . " 
 Game1: " . $_POST['field_3'] . "," . $_POST['field_4'] . " 
 Game2: " . $_POST['field_5'] . "," . $_POST['field_6'] . " 
 Game3: " . $_POST['field_7'] . "," . $_POST['field_8'] . " 
 Game4: " . $_POST['field_9'] . "," . $_POST['field_10'] . " 
 Game5: " . $_POST['field_11'] . "," . $_POST['field_12'] . " 
 Game6: " . $_POST['field_13'] . "," . $_POST['field_14'] . " 
 Game7: " . $_POST['field_15'] . "," . $_POST['field_16'] . " 
 Game8: " . $_POST['field_17'] . "," . $_POST['field_18'] . " 
 Game9: " . $_POST['field_19'] . "," . $_POST['field_20'] . " 
 Game10: " . $_POST['field_21'] . "," . $_POST['field_22'] . " 
 E-mail!: " . $_POST['field_23'] . "
 ",$mailheader); include("confirm.html");

 .?&gt;`
</code></pre>
