faqts : Computers : Programming : Languages : PHP : Common Problems : Forms and User Input

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 5 people (20%) answered Yes
Recently 1 of 5 people (20%) answered Yes

Entry

When user submit data in my form, how can i make the form e-mail me the data of the user?

Dec 12th, 2005 14:22
Geoffrey Crego, Imad Kharbutli,


set the action variable to "mailto:<email address>" or you can handle 
it by using the mail( ) function.  Check out the mail() function syntax.