I'm doing a job to send email with phpmailer to multiple addresses from input checkbox like this:
<input type='checkbox' name='mail[]' value ='$row->email'>
And i want data after post like this
$recep = array(
$mail[0] => 'Name Receipent 1',
$mail[1] => 'Name Receipent 2',
$mail[2] => 'Name Receipent 3',
);
i want this email to loop to all other email address which i checked in the checkbox
Aucun commentaire:
Enregistrer un commentaire