the mail() function
Moderators: macek, egami, gesf
- New php-forum User
- Posts: 35
- Joined: Thu Oct 27, 2011 1:24 pm
Your code is too long dude, but from what you are asking for, I think this might help.
Once the user submits:
Code: Select all
$emails = array();
array_push($emails, 'email' => 'EMAIL FOR CHECKBOX 1');
// then to send them all just create a loop
foreach($emails as $mail)
mail($mail[''email'], $subject, $message); //etc.
Now this is just an overview, as I am not quite sure of what you want.
Who is online
Users browsing this forum: No registered users and 1 guest