Here is my php,
<?php
$to = "jacob@codefarms.us, duma@codefarms.us";
$subject = _POST['name'];
$content = __POST['content'];
$headers = _POST['email'];
if (!$content === "") {
mail($to,$subject,$content,$headers);
}
?>
I get this error when I enter in information,
Warning: Illegal string offset 'name' in
/*****/*******/codefarms.us/contact.php on line 5
Warning: Illegal string offset 'content' in
/*****/*******/codefarms.us/contact.php on line 6
Warning: Illegal string offset 'email' in
/*****/*******/codefarms.us/contact.php on line 7
I don't understand why I am getting an error. I use hostgator to host my website.