In one of my web application in php there is a contest section . It contains a multiple choice 10 questions , Each has 4 options .
After user filling the form I am saving the answer as comma separated values in a db . like follows:
user | answer
-------------------------------------
112 | 1,7,8,9,8,5,2,3,6,7,9,6
I got a answer key same as the use’s filled answer key ..
What is the best logical method for evaluate the users input and find out the highest scored user?
As mentioned in the comments, this isn’t the best way to store data, but I’d evaluate like this: