Re: PHP/JavaScript/HTML
| From: | CPT John W. Holmes | Date: | Tue, 05 Aug 2003 19:29:30 +0000 |
| Subject: | Re: PHP/JavaScript/HTML | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158337@lists.php.net to get a copy of this message | ||
From: "Mauricio" <mauricio@agp5.com.br>
> On the Address Bar I can see: index.php?slcAdd=1&slcAdd=2&slcAdd=3
> But when I get the value using $HTTP_GET_VARS['slcAdd']; it returns just
the
> last value. What can I do to get them all?
Name your select box as "slcAdd[]" and you'll have all of the values in an
array.
---John Holmes...