What this is for is a radio button form.
code looks like this in html
<input type="radio" name="list[0]" value="list1[1]" checked="checked" />
<input type="radio" name="list[0]" value="list1[0]" />
<input type="radio" name="list[1]" value="list2[1]" checked="checked" />
<input type="radio" name="list[1]" ="list2[0]" />
When the form is passed to the php script I am using a foreach to loop through the list[#] array the list#[#] is the value from the form.
I need the number after list# this could be any length.
I also need the number between the [##] this will be either 1 or 0
Hope this explains it better
Thanks