This is the very nature of radiobuttons. They are ment to return only
one value because you can only select one of them. If you want all
values returned in an array you have to use checkbox. Checkboxes allow
multiple selections.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 23. júlí 2003 03:12
To: [EMAIL PROTECTED]
Subject: [PHP] radio button arrays and php3

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 ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to