keegan101 Posted July 17, 2008 Share Posted July 17, 2008 How can i input data from a form into a mysql database and then also send a email with the same data to the recipicant Quote Link to comment https://forums.phpfreaks.com/topic/115225-input-data-into-mysql-and-then-send-email/ Share on other sites More sharing options...
Xurion Posted July 17, 2008 Share Posted July 17, 2008 Store it as a variable? $var = 'data'; mysql_query("INSERT INTO table (column) VALUES ('$var')"); mail('[email protected]', 'your subject', $var, $headers); Quote Link to comment https://forums.phpfreaks.com/topic/115225-input-data-into-mysql-and-then-send-email/#findComment-592462 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.