Hi,
I have a situation where a web page may have an unknown number of radio buttons set with the same name.
The web page could be
<h2>Tell your favorite fruit</h2>
<input type="radio" name="rb1" value="peaches">
<input type="radio" name="rb1" value="pears">
<input type="radio" name="rb1" value="apples">
etc..
Whether the radio buttons are clicked or not, I must be able to count how many options there are.... so in the example above, how can php determine how many options there are regardless of whether the user checks one or not?
?????
Please... help me. How can I use php to obtain a count of a radio button? The count function did work when I tried it?
I can not use checkboxes I have no choice, they must be radio buttons, and my business logic depends on how many (these are dynamic) there are
Thanks