Menu
Hello and thank you for providing a great forum. I have an issue re: submitting a form that i need help with.
I have an HTML form that currently writes to a MySQL db using when the user hits ‘Submit’. The PHP code looks like so:
if (isset($_REQUEST[‘submit’]))
{
mysql_connect(‘localhost’,’username’,’userpass’);
mysql_select_db(‘db_name’);
mysql_query(“INSERT INTO table_name(field1, field2) VALUES (‘” .
$
this functionality works fine. is there a way to also email the form to several people when the user ‘Submits’?
Any help is aprecciated. Thanks in advance.