Jump to content

Shuffling or randomization of php/mysql quize questions


Chikesoft Services

Recommended Posts

With reference to the tutorial on this url   https://www.w3schools.com/Php/phptryit.asp?filename=tryphp_func_shuffle  how can I shuffle my quize questions each time page refreshes as they display from database? 

Note I used php while loop to display all the 5 questions at once but I need them shuffled each time it's displayed

 

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...