I just can't figure out what I am doing wrong in this php. If anybody is able to help me, that would be great, it says I have something wrong with my T_Variable on line 10.
Code:
<?php
$_POST['name'] = $name;
$_POST['email'] = $email;
$_POST['comments'] = $comments;
$message = "Name: " . $name . "<br />Email: " . $email . "<br /><br />" . $comments . "";
$site = "Floomb.com"
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$mail = '<table border=\"0\" cellpadding=\"5px\" cellspacing=\"0\"><tr><td style=\"background: #282828;\"><img src=\"http://www.floomb.com/logo.png\"></td></tr></table><font color=\"#00CC00\" style=\"font-weight: bold; font-size: 16px;\">Inquiry / Comment On' . $site . '!<br />' . $message . '</font>';
$to = "myemail@email.com";
$subject = "" . $site . "Inquiry / Comment";
mail($to, $subject, $mail, $headers);
?>
Thanks,
HTMLGuy