Hello everyone!
First, apology for my bad English and i'm newbie in PHP environment 
Ok, my question is, how can i calculate the number of selected radio button in my form? Most of the solution is on how to calculate the value from the checkbox, but in my case, i need to calculate the total number of selected radio button. Here the code for my form:
<form id="form1" name="form1" method="post" action="">
<table width="1100px" border="1">
<tr>
<td>No</td>
<td>Questions</td>
<td>A</td>
<td>B</td>
<td>C</td>
<td>D</td>
</tr>
<tr><!--Question 1-->
<td>1.</td>
<td>Question 1</td>
<td><label><input type="radio" name="q1" value="0" id="q1" />0</label></td>
<td><label><input type="radio" name="q1" value="1" id="q1" />1</label></td>
<td><label><input type="radio" name="q1" value="2" id="q1" />2</label></td>
<td><label><input type="radio" name="q1" value="3" id="q1" />3</label></td>
</tr>
<tr><!--Question 2-->
<td>2.</td>
<td>Question 2</td>
<td><label><input type="radio" name="q2" value="0" id="q2" />0</label></td>
<td><label><input type="radio" name="q2" value="1" id="q2" />1</label></td>
<td><label><input type="radio" name="q2" value="2" id="q2" />2</label></td>
<td><label><input type="radio" name="q2" value="3" id="q2" />3</label></td>
</tr>
<tr><!--Question 3-->
<td>3.</td>
<td>Question 3</td>
<td><label><input type="radio" name="q3" value="0" id="q3" />0</label></td>
<td><label><input type="radio" name="q3" value="1" id="q3" />1</label></td>
<td><label><input type="radio" name="q3" value="2" id="q3" />2</label></td>
<td><label><input type="radio" name="q3" value="3" id="q3" />3</label></td>
</tr>
<tr><!--Question 4-->
<td>4.</td>
<td>Question 4</td>
<td><label><input type="radio" name="q4" value="0" id="q4" />0</label></td>
<td><label><input type="radio" name="q4" value="1" id="q4" />1</label></td>
<td><label><input type="radio" name="q4" value="2" id="q4" />2</label></td>
<td><label><input type="radio" name="q4" value="3" id="q4" />3</label></td>
</tr>
<tr><!--Question 5-->
<td>5.</td>
<td>Question 5</td>
<td><label><input type="radio" name="q5" value="0" id="q5" />0</label></td>
<td><label><input type="radio" name="q5" value="1" id="q5" />1</label></td>
<td><label><input type="radio" name="q5" value="2" id="q5" />2</label></td>
<td><label><input type="radio" name="q5" value="3" id="q5" />3</label></td>
</tr>
</table>
<input name="Calculate" type="button" value="Calculate" />
</form>
and here the output:
[ATTACH]16281[/ATTACH]
How do i calculate the total number of selected radio button for column A, column B, column C and column D. If anybody found any tutorial links to share are also most welcome. Thank you very much and really appreciate!
The attachments of this post were removed during the platform migration in 2018