Hi all!! I have written online test in php but i am confused now and dont know how can i count the result of checked radio buttons and chackboxes. If anyone can help me in this please write/help me. Thank you in advance
You have to use the value-parameter like here: <INPUT type="checkbox" id=checkbox1 name=checkbox1 value=1>
Then you could make IF-statements: IF ($checkbox1 == 1) { $counter ++; } IF ($checkbox2 == 1) { $counter ++; } .........