Hi, I am getting the following error. I have checked out LINE 85 and I cannot figure out what's wrong. My code is below my note about a previous thread that covered this issue!
The error: Parse error: syntax error, unexpected T_VARIABLE in D:\Hosting\4710998\html\workformprocess.php on line 85
Here's a previous thread that covered this error, I just can't seem to find anything wrong in my code on Line
http://www.phpbuilder.com/board/archive/index.php/t-10296539.html
My Code:
<?php
/ Subject and email variables /
$emailSubject = 'Looking For Work';
$webMaster = 'emailheremaskedforspamprotectiononforum@staffingplus.org';
/ Gathering Data Variables /
$firstnameField = $_POST ['first_name'];
$middlenameField = $_POST ['middle_name'];
$lastnameField = $_POST ['last_name'];
$preferrednameField = $_POST ['preferred_name'];
$streetField = $_POST ['street_address'];
$apartmentField = $_POST ['apartment'];
$cityField = $_POST ['city'];
$stateField = $_POST ['state'];
$zipField = $_POST ['zip_code'];
$primaryField = $_POST ['primary_phone'];
$homephoneField = $_POST ['phone_home'];
$cellphoneField = $_POST ['phone_cell'];
$workphoneField = $_POST ['phone_work'];
$otherphoneField = $_POST ['phone_home2'];
$emailField = $_POST ['email'];
$hearField = $_POST ['how_hear'];
$hsField = $_POST ['hs_name'];
$hsstreetField = $_POST ['hs_street'];
$hscityField = $_POST ['hs_city'];
$hsstateField = $_POST ['hs_state'];
$hszipField = $_POST ['his_zip'];
$hsmonthField = $_POST ['hs_month'];
$hsyear:confused:Field = $_POST ['hs_gradyear'];
$otheredtypeField = $_POST ['other_school_type'];
$otherednameField = $_POST ['other_ed_name'];
$otheredstreetField = $_POST ['other_ed_street'];
$otheredcityField = $_POST ['other_ed_city'];
$otheredstateField = $_POST ['other_ed_state'];
$otheredzipField = $_POST ['other_ed_zip'];
$otheredlastmonthField = $_POST ['other_ed_last_month'];
$otheredlastyearField = $_POST ['other_ed_last_year'];
$otheredgradField = $_POST ['other_ed_graduated'];
$otheredtype2Field = $_POST ['other_school_type2'];
$otheredname2Field = $_POST ['other_ed_name2'];
$otheredstreet2Field = $_POST ['other_ed_street2'];
$otheredcity2Field = $_POST ['other_ed_city2'];
$otheredstate2Field = $_POST ['other_ed_state2'];
$otheredzip2Field = $_POST ['other_ed_zip2'];
$otheredlastmonth2Field = $_POST ['other_ed_last_month2'];
$otheredlastyear2Field = $_POST ['other_ed_last_year2'];
$otheredgrad2Field = $_POST ['other_ed_graduated2'];
$company1nameField = $_POST ['company1_name'];
$company1streetField = $_POST ['company1_street'];
$company1cityField = $_POST ['company1_city'];
$company1stateField = $_POST ['company1_state'];
$company1zipField = $_POST ['company1_zip'];
$company1phoneField = $_POST ['company1_phone'];
$company1supvField = $_POST ['company1_supv_name'];
$company1supvtitleField = $_POST ['company1_supv_title'];
$company1jobtitleField = $_POST ['company1_job_title'];
$company1jobdutiesField = $_POST ['company1_job_duties'];
$company1startdateField = $_POST ['company1_start_date'];
$company1startyearField = $_POST ['company1_start_year'];
$company1enddateField = $_POST ['company1_end_date'];
$company1endyearField = $_POST ['company1_end_year'];
$company1startwageField = $_POST ['company1_start_wage'];
$company1endwageField = $_POST ['company1_end_wage'];
$company1contactpermissionField = $_POST ['company1_contact_permission'];
$company2name2Field = $_POST ['company2_name2'];
$company2street2Field = $_POST ['company2_street2'];
$company2city2Field = $_POST ['company2_city2'];
$company2state2Field = $_POST ['company2_state2'];
$company2zip2Field = $_POST ['company2_zip2'];
$company2phone2Field = $_POST ['company2_phone2'];
$company2supv2Field = $_POST ['company2_supv_name2'];
$company2supvtitle2Field = $_POST ['company2_supv_title2'];
$company2jobtitle2Field = $_POST ['company2_job_title2'];
$company2jobduties2Field = $_POST ['company2_job_duties2'];
$company2startdate2Field = $_POST ['company2_start_date2'];
$company2startyear2Field = $_POST ['company2_start_year2'];
$company2enddateField = $_POST ['company2_end_date'];
$company2endyearField = $_POST ['company2_end_year'];
$company2startwage2Field = $_POST ['company2_start_wage2'];
$company2endwage2Field = $_POST ['company2_end_wage2'];
$company2contactpermission2Field = $_POST ['company2_contact_permission2']
$company3name3Field = $_POST ['company3_name3'];
$company3street3Field = $_POST ['company3_street3'];
$company3city3Field = $_POST ['company3_city3'];
$company3state3Field = $_POST ['company3_state3'];
$company3zip3Field = $_POST ['company3_zip3'];
$company3phone3Field = $_POST ['company3_phone3'];
$company3supv3Field = $_POST ['company3_supv_name3'];
$company3supvtitle3Field = $_POST ['company3_supv_title3'];
$company3jobtitle3Field = $_POST ['company3_job_title3'];
$company3jobduties3Field = $_POST ['company3_job_duties3'];
$company3startdate3Field = $_POST ['company3_start_date3'];
$company3startyear3Field = $_POST ['company3_start_year3'];
$company3enddate3Field = $_POST ['company3_end_date3'];
$company3endyear3Field = $_POST ['company3_end_year3'];
$company3startwage3Field = $_POST ['company3_start_wage3'];
$company3endwage3Field = $_POST ['company3_end_wage3'];
$company3contactpermission3Field = $_POST ['company3_contact_permission3']
$temporaryworkavailabilityFIELD = $_POST ['temporary_work_availability']
$employmenttypeFIELD = $_POST ['employment_type']
$availabletostartmonthFIELD = $_POST ['available_to_start_month']
$availabletostartdateFIELD = $_POST ['available_to_start_date']
$availabletostartyearFIELD = $_POST ['available_to_start_year']
$mondayhoursFIELD = $_POST ['monday_hours']
$tuesdayhoursFIELD = $_POST ['tuesday_hours']
$wednesdayhoursFIELD = $_POST ['wednesday_hours']
$thursdayhoursFIELD = $_POST ['thursday_hours']
$fridayhoursFIELD = $_POST ['friday_hours']
$saturdayhoursFIELD = $_POST ['saturday_hours']
$sundayhoursFIELD = $_POST ['sunday_hours']
$overtimeFIELD = $_POST ['overtime_preference']
$payrateFIELD = $_POST ['pay_rate']
$milesFIELD = $_POST ['miles']
$noticeFIELD = $_POST ['position_notice']
$initialsFIELD = $_POST ['initials']
$body = <<<EOD
<br><hr><br>
First Name: $firstnameField <br>
Middle Name: $middlenameField <br>
Last Name: $lastnameField <br>
Preferred Name: $preferrednameField <br>
Street: $streetField <br>
Apartment/Box: $apartmentField <br>
City: $cityField <br>
State: $stateField <br>
Zip: $zipField <br>
Primary Number: $primaryField <br>
Home Phone: $homephoneField <br>
Cell Phone: $cellphoneField <br>
Work Phone: $workphoneField <br>
Other Phone: $otherphoneField <br>
Email: $emailField <br>
How Hear About: $hearField <br>
High School: $hsField <br>
HS Street: $hsstreetField <br>
HS City: $hscityField <br>
HS State: $hsstateField <br>
HS Zip: $hszipField <br>
HS Grad Month: $hsmonthField <br>
HS Grad Year: $hsyearField <br>
Other Education Type: $otheredtypeField <br>
Other Education Name: $otherednameField <br>
Other Education Street: $otheredstreetField <br>
Other Education City: $otheredcityField <br>
Other Eduaction State: $otheredstateField <br>
Other Education Zip: $otheredzipField <br>
Other Education Last Month Attended: $otheredlastmonthField <br>
Other Education Last Year Attended: $otheredlastyearField <br>
Other Education Graduated: $otheredgradField <br>
Second Education Type: $otheredtype2Field <br>
Second Education Name: $otheredname2Field <br>
Second Education Street: $otheredstreet2Field <br>
Second Education City: $otheredcity2Field <br>
Second Education State: $otheredstate2Field <br>
Second Education Zip: $otheredzip2Field <br>
Second Education Last Month Attended: $otheredlastmonth2Field <br>
Second Education Last Year Attended: $otheredlastyear2Field <br>
Second Education Graduated: $otheredgrad2Field <br>
Company One Name: $company1nameField <br>
Company One Street: $company1streetField <br>
Company One City: $company1cityField <br>
Company One State: $company1stateField <br>
Company One Zip: $company1zipField <br>
Company One Phone: $company1phoneField <br>
Company One Supervisor: $company1supvField <br>
Company One Supervisor Title: $company1supvtitleField <br>
Company One Job Title: $company1jobtitleField <br>
Company One Job Duties: $company1jobdutiesField <br>
Company One Start Date: $company1startdateField <br>
Company One Start Year: $company1startyearField <br>
Company One End Date: $company1enddateField <br>
Company One End Year: $company1endyearField <br>
Company One Start Wage: $company1startwageField <br>
Company One End Wage: $company1endwageField <br>
Company One Contact Permission: $company1contactpermissionField <br>
Company Two Name: $company2name2Field <br>
Company Two Street: $company2street2Field <br>
Company Two City: $company2city2Field <br>
Company Two State: $company2state2Field <br>
Company Two Zip: $company2zip2Field <br>
Company Two Phone: $company2phone2Field <br>
Company Two Supervisor: $company2supv2Field <br>
Company Two Supervisor Title: $company2supvtitle2Field <br>
Company Two Job Title: $company2jobtitle2Field <br>
Company Two Job Duties: $company2jobduties2Field <br>
Company Two Start Date: $company2startdate2Field <br>
Company Two Start Year: $company2startyear2Field <br>
I had to cut the end of my code off due to forum length limits.