Could anyone advise me as to the correct syntax for this code snippet please ?
It doesn't seem quite right where the 2nd last line line has $mesg = '<html>
Shouldn't it have either a closing inverted comma or possibly double quotes at start and finish of <html> ??
Here is the the code below
Code: Select all
//send the mail
mail($recipient, $subject, $mesg, $mailheaders);
}
else if($event_group_event == "yes")
{
$subject =$client_first_name;
$subject .= ", ";
if($client_gender == "male")
$subject .= $event_male_subject;
if($client_gender == "female")
$subject .= $event_female_subject;
$mesg = '<html>
<head>