I am making an html php email form, I am sending it to all my users that have their allow_email setting set to 1. But whenever I try to send the message I get:\[code\]Parse error: syntax error, unexpected T_VARIABLE in /Applications/XAMPP/xamppfiles/htdocs/projects/lr/core/functions/users.php on line 9\[/code\]I am using this code to send the email: \[code\]function mail_users($subject, $body) {$query = mysql_query("SELECT `email`, `first_name` FROM `users` WHERE `allow_email` = 1"); $message = '<html><body>'; $message .= '<b>Test</b>'; $message .= "Hello " . $row['first_name'] . ",\n\n" . $body; $message .= '</body></html>' $headers = "From: [email protected]"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";while (($row = mysql_fetch_assoc($query)) !== false) { email($row['email'], $subject, $message, $headers);}}\[/code\]And it is giving me that error. I'm not sure why. I know it has something to do with the headers but Im not sure why. Thanks.mail.php\[code\]<?php ob_start();include 'core/init.php'; protect_page();admin_protect();include 'includes/overall/overall_header.php'; ?><h1>Email All Users</h1><?phpif (isset($_GET['success']) === true && empty($_GET['success']) === true) {?><p>Email has been sent!</p><?php} else {if(empty($_POST) === false) { if (empty($_POST['subject']) === true) { $errors[] = 'Subject is required.'; } if (empty($_POST['body']) === true) { $errors[] = 'Body is required.'; } if (empty($errors) === false) { echo output_errors($errors); } else { mail_users($_POST['subject'], $_POST['body']); header('Location: mail.php?success'); exit(); }}?><form action="" method="post"> <ul> <li> Subject*:<br /> <input type="text" name="subject" value="http://stackoverflow.com/questions/15489395/<?php echo $_POST['subject']; ?>"> </li> <li> Body*:<br /> <textarea name="body" ><?php echo $_POST['body']; ?> </textarea> </li> <li> <input type="submit" value="http://stackoverflow.com/questions/15489395/Send"> </li> </ul></form><?php }include'includes/overall/overall_footer.php'; ?>\[/code\]