Well one other thing you could take into consideration is in the HTML form, you have it set to have the value of "Your Name" and "Your email", and those disappear when you click on the form field. What if they don't click on it and only type in the textarea. Then you will recieve an email with
Name: Your name
Email: Your Email
Message: Whatever they type in.
To eliminate this issue, you could make the if statement I spoke of before to do the following:
Code:
if ($_POST[name] != "Your name" and $_POST[name] != "" and $_POST[email] != "Your email" and $_POST[email] != "" and $_POST[message] != "") {
/* This will verify they have entered something in the fields other than the default values. Change as needed */
Let me know if this helps or not.
Bookmarks