Re: php & javascript
| From: | Rasmus Lerdorf | Date: | Wed, 14 Jun 2000 06:25:31 +0000 |
| Subject: | Re: php & javascript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1816@lists.php.net to get a copy of this message | ||
On Wed, 14 Jun 2000, sarahana wrote:
> Actually, what I was tActually, I was trying to allow multiple selection in a
> select menu, so I need to get all the selected options... can I do this
> WITHOUT using javascript?
Just name stick a [] on the end of the name. ie.
<select multiple name="blah[]">
Then you will get an array named $blah you can loop through.
-Rasmus