Re: radio button arrays and php3

From: Date: Wed, 23 Jul 2003 03:16:02 +0000
Subject: Re: radio button arrays and php3
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-156377@lists.php.net to get a copy of this message
* 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."

« previous php.general (#156377) next »