Ok here is my entire contact.html file:
http://sitepoint.pastebin.com/m5006fd8a
Here is the CSS:
http://sitepoint.pastebin.com/m42b37922
Here is the Javascript which is in the contact.html file, but I separated it out for easier reading:
http://sitepoint.pastebin.com/m486581b
Here is my mailix.php which I got help from several coders and they said that is the correct way:
http://sitepoint.pastebin.com/m444ea3f0
I am just trying to get the mail to be sent to me, but not sure whenever I click "submit" I get the error: "blarg!" which appears at the bottom of the mailix.php file:
PHP Code:
echo "Data has been submitted to $to!";
mail($to, $subject, $body);
} else {
echo "blarg!";
}
?>
What am I doing wrong? It should work, that exact form had worked and I did receive email it is just something that it isn't parsing through the javascript correctly. Please help.