lundi 17 juillet 2017

Creating randomized questions and tallying correct answers PHP

I have a project that requires me to use php in combination with html to create a code that will ask the user to name the capital of 5 states, from a list of 5 states; every time the user takes the quiz, the questions should be in random order..

I have no idea where to start, should I store the questions and answers in a SQL database and draw from it, should I use an array and randomize it?

If so could someone show me some code and explain it?




Aucun commentaire:

Enregistrer un commentaire