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 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); 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
Archived
This topic is now archived and is closed to further replies.