Mr.A Wilson wrote:
> Wade,
>   I gave it a try and this was the resulting message:
>   Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in 
> /home/a8936851/public_html/ContactForm.php on line 6
> 
> 20080809 2140 GMT-6
> 
> Ashley, try this:
> 
> $to = "[EMAIL PROTECTED]";
> $subject = "Info from Game Website.";
> $message = $_GET['Comments'];
> $message .= "\r\n\n\n" . "Sender's ip address is " . nl2br($ip);
> $headers = "Replay-To: " . $_GET['name'] . "<" .$_GET['Email'] ">\r\n";
> 
> mail($to, $subject, $message, $headers);
> 
> Wade

20080810 1325 GMT-6

Is line 6 the headers line? I see I forgot a dot after email.

  $headers = "Replay-To: " . $_GET['name'] . "<" .$_GET['Email']. ">\r\n";

Try that?

Wade

Reply via email to