Form Trouble with Multiple Selections
| From: | Carlos Henrique | Date: | Wed, 14 Jun 2000 20:28:15 +0000 |
| Subject: | Form Trouble with Multiple Selections | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-1866@lists.php.net to get a copy of this message | ||
Okay, try this:
<select name=input[]>
<option>blah blah</option>
.
.
.
</select>
Using a non-enumerated array in the form field name PHP takes all selected
options and parse in the array specified.
I've done that thing you want a few years ago and cant remember *exactly*
how to do, but that´s the way!
Carlos
-----Mensagem original-----
De: Phillip S. Baker [mailto:phillip@wordsandimages.com]
Enviada em: quarta-feira, 14 de junho de 2000 17:13
Para: Carlos Henrique
Assunto: Re: RES: [PHP-GENERAL] Form Trouble with Multiple Selections
>Try using an array in form field name like input[].
>
>Carlos
>
I am new to PHP.
Can you elaborate a little bit on this so I can get a better grasp of
what you are saying?