How do I email the contents of a form to me?
The mail function can take several parameters, however for a simple email all you need are the first three - who it is to, the title of the email (subject) and the contents of the message (body).
Thus if your web server is configured to allow use of the mail function on PHP, this will send an email:
mail("email@example.com","Hello me","That was easy wasn't it?");
More forms PHP QuestionsHow do you check for an empty field in a form?
What are magic quotes?
is it possible to submit a form without a submit button
What are causes of seeing the actualPHP code in my web browser
how to avoid the refresh or goback to submit the post values in database