I am creating a form that has a group of radio buttons that fall under the same array. So the naming of each radio button looks like this
<input type='radio' name='name[]' value='50' />
<input type='radio' name='name[]' value='500' />
...
Now since they all have the same name, only one radio can be picked. (Thats what I want). So once the form is posted, I retrieve the value by putting this
$_POST['name'][0]
My problem is this...
Even though the value is different, I still need a way to identify each radio. But I cant because each radio has the same name='name[]' how can i do that so I know exactly which radio button was selected.