Question:
I have a simple question here, How to find the Radio button value(s) count from an HTML form using the PHP POST method. Below is the HTML form code and I would like to get the below values in check_result.phpI have been trying to solve this for the last few hours but I could not be able to find the solution. Using this I can make some other conditions based on the user information.
Thanks.
Answer:
A very uninformative description of your problem. Since you have radio buttons in the form, only one value will be returned to you in one position of the q[n] array. And if you need to count how many radio buttons have been returned, just tryIf you have better answer, please add a comment about this, thank you!