Hello Guys, I have a radio button has a different value i dont know how to get the sum of this. can you give me some ideas? or sample code?
thanks guys. this is my code.
<tr>
<td width="500"><?php echo $behavioral; ?>
</td>
<td align="center" >
<div>
<input type='radio' class='css-checkbox' id='1radio<?php echo ($id); ?>' name="<?php echo ($id); ?>" value="<?php echo ($count1); ?>"><label for="1radio<?php echo ($id); ?>" class="css-label">1</label>
<input type='radio' class='css-checkbox' id='2radio<?php echo ($id); ?>' name="<?php echo ($id); ?>" value="<?php echo ($count2); ?>"><label for="2radio<?php echo ($id); ?>" class="css-label">2</label>
<input type='radio' class='css-checkbox' id='3radio<?php echo ($id); ?>' name="<?php echo ($id); ?>" value="<?php echo ($count3); ?>" checked='checked'><label for="3radio<?php echo ($id); ?>" class="css-label">3</label>
<input type='radio' class='css-checkbox' id='4radio<?php echo ($id); ?>' name="<?php echo ($id); ?>" value="<?php echo ($count4); ?>"><label for="4radio<?php echo ($id); ?>" class="css-label">4</label>
<input type='radio' class='css-checkbox' id='5radio<?php echo ($id); ?>' name="<?php echo ($id); ?>" value="<?php echo ($count5); ?>" ><label for="5radio<?php echo ($id); ?>" class="css-label">5</label>
</td>
</div>
</tr>