PHP Quiz Radio and Checkbox Calculation
问题 I'm designing a simple quiz with PHP and would like to know if i'm approaching it the correct way before proceeding. The quiz will have approximately 25 questions, a mixture of radio buttons and checkboxes. The idea is to calculate the total and display this to the user when the quiz is submitted. I have just four questions so far. Questions 1 - 3 are radio buttons, one selection max. Question 4 is a checkbox and allows two selections max, each correct selection is worth 0.5 Here's a snippet