$email_list = implode(",",$emailto);

The name in your select probably doesn't need the $

Data Driven Design
PO Box 1084
Holly Hill, Florida 32117

http://www.datadrivendesign.com
http://www.rossidesigns.net
----- Original Message ----- 
From: "Sandeep Hundal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 02, 2001 11:28 AM
Subject: [PHP] how can i extract from such an array??


> hi all, just a quick question.
> 
> i've made a personal addressbook, the code for which i'm going to
> release soon (best probably for newbies). anyway, i want to make it
> so that i can pass multiple email address from one page to another.
> 
> basically it'll be a form select function like :
> <select name="$emailto[]";>
>   <option name="email1">name1
>   <option name="email2">name2
>   <option name="email3">name3
>   <option name="email4">name4
> </select>
> 
> now say i select name 1 and 4. i want to extract the emails on the
> page the variables are passed to, seperated by a comma.
> 
> any piece of code??
> 
> thanks!
> 
> /sunny
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to