I am getting this error:
Parse error: syntax error, unexpected $end in
on my php scriping. I am pretty new to this but I have no clue why I am getting this error. Ive checked over everything and nothing is open, I closed all tags. Any help would be greatly appreciated!! I need to have this fixed ASAP and I am getting a headache from it =(:mad::mad::mad:
<?
/* subject and Email Variables */
$emailSubject = 'Employer Census Disability and Life';
$webMaster = 'user@example.com';
/* Gathering Data Variables */
$EmployerGroupNameField = $_POST['EmployerGroupName'];
$StreetAddressField = $_POST['StreetAddress'];
$City = $_POST['City'];
$State = $_POST['State'];
$Zip = $_POST['Zip'];
$ContactName = $_POST['ContactName'];
$ContactPhone = $_POST['ContactPhone'];
$ContactFax = $_POST['ContactFax'];
$ContactEmail = $_POST['ContactEmail'];
$StandardIndustryCode = $_POST['StandardIndustryCode'];
$RequestedEffectiveDate = $_POST['RequestedEffectiveDate'];
$body = <<<EOD
<br><hr><br>
Employer Group Name: $EmployerGroupName <br>
Street Address: $StreetAddress <br>
City: $City <br>
State: $State <br>
Zip: $Zip <br>
Contact Name: $ContactName <br>
Contact Phone: $ContactPhone <br>
Contact Fax: $ContactFax <br>
Contact Email: $ContactEmail <br>
Standard Industry Code: $StandardIndustryCode <br>
Requested Effective Date: $RequestedEffectiveDate <br>
EOD;
$headers = "From: $ContactEmail\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
/* Results rendered as HTML */
$theResults = <<<EOD
<html>
<head>
<title>Testing</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-color: #f1f1f1;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
line-height: normal;
font-weight: normal;
color: #666666;
text-decoration: none;
}
-->
</style>
</head>
<div>
<div align="left">Testing</div>
</div>
</body>
</html>
EOD;
echo "$theResults";
?>