Re: multi select and php
| From: | Andy B | Date: | Mon, 26 Apr 2004 21:47:07 +0000 |
| Subject: | Re: multi select and php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184702@lists.php.net to get a copy of this message | ||
yea i thought it was harder than that... there was somewhere i read that you
had to check for the existance of the numbers of this and that...hmmm...
maybe it was variable length functions...
----- Original Message -----
From: "John W. Holmes" <holmes072000@charter.net>
To: "Andy B" <aborka1@wmis.net>; <php-general@lists.php.net>
Sent: Monday, April 26, 2004 3:55 PM
Subject: Re: [PHP] multi select and php
> From: "Andy B" <aborka1@wmis.net>
>
> > anybody know where i can go to get a good idea on how to take values
from
> a
> > multi select show them on the screen and then put them in a set column
> type
> > in php??
>
> Where are you having trouble?
>
> <select name="myselect[]" multiple>
>
> Then you have $_POST['myselect'] array.
>
> To get into comma separated list for display or insertion into column:
>
> $list = implode(',',$_POST['myselect']);
>
> Easy, eh? :)
>
> ---John Holmes...
>
>