Can anybody tell me what is wrong with this script?
<?php
# Handle email submissions
$headers = "$_POST['Name'] <$_POST['Email']>";
$message = "Company: $_POST['Company']\nPhone: $_POST['Phone']\nPreferred Method of Contact: $_POST['Contact']\n\n$_POST['Question']";
$Subject = "Submission from High Tech Telephones.com";
mail ($_POST['Recipient'], $Subject, $message, "From: $headers");
# Give feedback
?>
<head>
<title>HighTechTelephones.com</title>
<link rel=StyleSheet href="../style.css" title="Style">
</head>
<body>
<p class="text">Thanks for your submission, <?php echo $_POST['Name']; ?>!.
Your question will be reviewed shortly. Please return to the <a href="../" class="hypertext">home page</a> now.</p>
</body>
<?php
?>
Both lines 5 and 6 ($headers = , $message = ) give this error:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/http/h/hightechtelephones.com/formmail.php on line 6
Thanks for any help,
Adam