php is able to calculate the score so why would you need to store each score in the database ? I would definetly use mysql to store the questions
all you need then is an online form for people to fill out that recovers the information randomly from the database
data security is not a factor...