In php, one of the options would be to store the questions in an array and the use shuffle() function to assist in doing what you trying to achieve.
$question_array = array("Qa","Qb","Qc","Qd","Qe");
//Shuffle the array of questions
//print out the arrays to your screen or you may opt to save them yet to another array or variable for later use
To add to @Migotn, do you have the ability to change how they’re stored, or is it a set format that you’re getting from somewhere?
Depending on the answer to that question, the beginnings are different from @Migotn, but the ending is pretty much the same: You’ll want to get the questions into an array and then use the shuffle()-function.
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".