Is there any other way to group radio buttons aside from the same name parameter?
I have lot of this in my form
-- one group --
<input type=radio name=answers[] value=$IDchoice>
<input type=radio name=answers[] value=$IDchoice>
-- another group --
<input type=radio name=answers[] value=$IDchoice>
<input type=radio name=answers[] value=$IDchoice>
And I run this in a loop so in my webpage source, you can see rows of radio buttons, but these radio buttons should not be all in one group...
Search engines
-radio=google
-radio=yahoo
-radio=altavista
Favorite Icecream flavor
-radio=vanilla
-radio=chocolate
-radio-strawberry
the values of the radio buttons came from one database named "choices". and I find it easy to just pass the values of the choices in an array. I have no problem in passing it but I realized that I need to have a different name for each group of radio buttons. I just want to find a way if they can still have the same name but be in different groups.
I know you guys can understand what I am up to, if ever there is a different way on how I approach the problem, I am really excited to hear about it.
Thanks in advance!