Results 1 to 2 of 2
Thread: Multiple Radio Button Handling
May 7, 2009, 12:59 #1
- Join Date
- May 2008
- 0 Post(s)
- 0 Thread(s)
Multiple Radio Button Handling
New day, new problem. I've been pondering with this problem for ages.
Assume that I have a table, with four columns and x rows, with x being the number of comments you have waiting in a moderation queue. In column 1, you have the comment, column 2 an approve button, column 3 a reject, and column 4 a 'Flag as Spam' button.
Now, that could either be done as a series of checkboxes, or, a more UI friendly way, as a Radio Button handling. But, Radio Buttons are bound together by the name field, which PHP also uses for it's processing!
So, how can I get all three radio buttons mutually exclusive, and let PHP handle the lot? It's been suggest the radio button name be like so: commentid, but, how can PHP handle these, not knowing what they are going to be?