Storing quiz marks in database
I have a basic login system where users can update their profile etc, I want to be able to allow them to take quizes and store the score in the database.
What would be the best way to do this? Having the quiz on one page and having radio buttons for the answers and then having a process page which processes the answers, for example if answer = radiobutton 1 + 10 to Score variable and then insert into database?
I can't see how to do this (the working out of the score and then storing it. Any help would be great!