I am new to php and am getting the following error; Parse error: syntax error, unexpected '+', expecting T_VARIABLE or '$' in… on line 14. Here is the code;
<?php
/* Subject and Email Variables */
$emailSubject = 'Monthly attendance report';
$webMaster = 'phil@coxwebink.biz';
/* Gathering Data Variables */
$ChurchField = $_POST['Church'];
$MonthField = $_POST['Month'];
$NameField = $_POST['Name'];
$SS_AveField = $_POST['SS_Ave'];
$pluse_or_minus_Over_Same_Month_Last_Year = $_POST['pluse_or_minus_Over_Same_Month_Last_Year'];
$SS_YTDField = $_POST['SS_YTD'];
$SS_YTD_pluse_or_minusField = $_POST['SS_YTD_pluse_or_minus'];
$SS_RLField = $_POST['SS_RL'];
$SS_RL_pluse_or_minusField = $_POST['SS_RL_pluse_or_minus'];
$A.M. WorshipField = $_POST['A.M. Worship'];
$+/-Field = $_POST['+/- Over Same Month Last Year'];
$P.M. WorshipField = $_POST['P.M. Worship'];
$+/-Field = $_POST['+/- Over Same Month Last Year'];
$body = <<<EOD
<br><hr><br>
Church: $Church <br>
Month: $Month <br>
Name: $Name <br>
SS_Ave: $SS_Ave<br>
SS_pluse_or_minus: $SS_pluse_or_minus <br>
SS_YTD: $SS_YTD <br>
SS_YTD_pluse_or_minus: $SS_YTD_pluse_or_minus <br>
SS_RL: $SS_RL <br>
SS_RL_pluse_or_minus: $SS_RL_pluse_or_minus <br>
A.M. Worship: $A.M. Worship <br>
+/- Over Same Month Last Year: $+/- <br>
P.M. Worship: $P.M. Worship <br>
+/- Over Same Month Last Year: $+/- <br>
EOD;
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
/* Results rendered as HTML */