php email from form
I would like to have a form and then once a person fills out the form his/her name is entered into a database. Also, once the user clicks the submit button I would like to send out an email to the email address they filled in the form. The email will have a generic subject and message.
If anyone can help me out that would be great. Thank you in advance.
Try http://www.pbpixels.com/forms/generator.php that will get you some of the way at least although it's an old script.
Hope it helps
$strContent="Mail Content here";
$headers.="Content-type: text/html; charset=iso-8859-1\r\n";
mail($to, $subject, $strContent, $headers);
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)