E-mailing submitted information in a form to the webmaster
Posted: Tue Jul 29, 2003 3:47 am
hey guyz .. i m learning PHP so plz i m sorry for such nooby questions ..
well i wanted to know , what code can i put in my .php file that will send all the information stored in the variables to my email ..
i mean like lets say i have form
HTML FORM ----------------------------
FIRST NAME: John
LAST NAME: Smith
PHP FILE--------------------------------
$fname
$lname
when the user submits the form after putting his first and last name .. the names get stored in the variables .. now if i want these 2 variables to be sent to an email address (me) .. what code do i need .. plz help me ..
well i wanted to know , what code can i put in my .php file that will send all the information stored in the variables to my email ..
i mean like lets say i have form
HTML FORM ----------------------------
FIRST NAME: John
LAST NAME: Smith
PHP FILE--------------------------------
$fname
$lname
when the user submits the form after putting his first and last name .. the names get stored in the variables .. now if i want these 2 variables to be sent to an email address (me) .. what code do i need .. plz help me ..