crazysaint Posted July 21, 2006 Share Posted July 21, 2006 i have created a form that submits values to the database,i want to create a code that will send an email of same values on the same click such that the values will be rertived on email and also be stored in the database. Quote Link to comment https://forums.phpfreaks.com/topic/15230-submit-form-into-database-and-email/ Share on other sites More sharing options...
hackerkts Posted July 21, 2006 Share Posted July 21, 2006 Do you mean that you want it to input informations into your database and also send the information through email ?So let's say you use the POST method, you just use $_POST['form-name'] and do a INSERT query into your database and below it just put the mail function to send the email with those informations. Quote Link to comment https://forums.phpfreaks.com/topic/15230-submit-form-into-database-and-email/#findComment-61543 Share on other sites More sharing options...
crazysaint Posted July 21, 2006 Author Share Posted July 21, 2006 [quote author=hackerkts link=topic=101346.msg401035#msg401035 date=1153470341]Do you mean that you want it to input informations into your database and also send the information through email ?So let's say you use the POST method, you just use $_POST['form-name'] and do a INSERT query into your database and below it just put the mail function to send the email with those informations.[/quote]yeah thats what i want to do,will the mail function also pick up the information and send it or do i have to add a code to pick up the information? Quote Link to comment https://forums.phpfreaks.com/topic/15230-submit-form-into-database-and-email/#findComment-61550 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.