Submit form to multiple emails using a PHP form

Status
Not open for further replies.
S

suforum

Hi guys,

I would just like to know how to beable to submit a form to 2 email addresses.
I am using a .php form and this is how my html coding goes with a single email address:

$to = "address@email.com";
$from = $_POST['email'];
$subject = "Website Enquiry";

Let me know, thanks!

_______________________
conservatories Fruit Machines
 

jason146

White Belt
you have to simply write two email functions of php in which "to" parameter of each function will be different from each other simple is that...
 
Status
Not open for further replies.
Top