March 17th, 2000, 11:10 PM
I am a newbie and I'm writing a application as a feedback database. The user submits his name e-mail etc. into a form and thenit stores it. I want to be able to send a sort of thank-you message after they fill in the form. How could I do that?
March 17th, 2000, 11:11 PM
Read about the mail() function in the manual
March 18th, 2000, 12:53 AM
you need to use the mail() function as follows:
mail ("to", "subject", "message");
Lets say your user enters their email in a form field named "Email". You would then write the mail function as:
mail ("$Email", "subject", "message");
Thats just a basic start, there's much more you can do by adding headers and such.
March 18th, 2000, 03:16 AM
Thanks, that was like the only thing not coverd in my PHP3 book. That'l do