Re: how can i extract from such an array??
| From: | Data Driven Design | Date: | Fri, 02 Mar 2001 16:59:51 +0000 |
| Subject: | Re: how can i extract from such an array?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42358@lists.php.net to get a copy of this message | ||
$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" <sandeep_wde@yahoo.com>
To: <php-general@lists.php.net>
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>