March 18th, 2000, 12:10 AM
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 18th, 2000, 12:11 AM
Read about the mail() function in the manual
March 18th, 2000, 01: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, 04:16 AM
Thanks, that was like the only thing not coverd in my PHP3 book. That'l do