Re: [PHP4BETA] Multiple Select
[email protected] (Soeren Staun-Pedersen) Wed, 31 May 2000 16:45:19 +0200 (CEST)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 31 May 2000, Catalin Ciocoiu wrote:
> How can I get value of a multile option select ??
> If I try $name I get the last value ,not all values selected ...
> Thanks !
<input name="foo[]" value=1>
<input name="foo[]" value=2>
<input name="foo[]" value=3>
<input name="foo[]" value=4>
^^
The trick is here. This tells the system to return array.
Cheers,
Soeren Staun-Pedersen - [email protected]
------
"The internet is full, beat it"
- Me.