Re: radio button arrays and php3
| From: | daniel at electroteque dot org | Date: | Wed, 23 Jul 2003 04:25:18 +0000 |
| Subject: | Re: radio button arrays and php3 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156388@lists.php.net to get a copy of this message | ||
umm yes i had to use select menus instead
> * Thus wrote daniel@electroteque.org (daniel@electroteque.org):
>> hi there i dont know if this happens in php4 but say i have a list of
>> radio buttons in an array like
>> <input type="radio" name="secondary_banner[]">
>> <input type="radio" name="secondary_banner[]">
>>
>> it only returns the one selected into the array, so instead of having
>> 2 keys i only get the one , the empty one doesnt seem to get submitted
>> , how can i make both turn up in the array ?
>
> You can't that is how html forms behave. You'll have to work around
> it.
>
>
>
> Curt
> --
> "I used to think I was indecisive, but now I'm not so sure."
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php