| 
 Posted by Geoff Berrow on 05/21/05 03:04 
I noticed that Message-ID: 
<6hrje.2222$5Z1.1980@newssvr30.news.prodigy.com> from Maggie Blue 
contained the following: 
 
><input type="checkbox" name="email1" value="recipient1" />Recipient 1 
><input type="checkbox" name="email2" value="recipient2" />Recipient 2 
><input type="checkbox" name="email3" value="recipient3" />Recipient 3 
> 
>where "recipient[n]" is stored in the script: 
> 
>"recipient1" = "email1@email.com" 
>"recipient2" = "email2@email.com" 
>"recipient3" = "email3@email.com" 
 
Give the checkboxes the same name 
<input type="checkbox" name="email[]" value="recipient1" />Recipient 1 
<input type="checkbox" name="email[]" value="recipient2" />Recipient 2 
<input type="checkbox" name="email[]" value="recipient3" />Recipient 3 
 
then  
 
$mailto=implode(",",$_POST['email'] ); 
 
 
--  
Geoff Berrow (put thecat out to email) 
It's only Usenet, no one dies. 
My opinions, not the committee's, mine. 
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
 
[Back to original message] 
 |