Hi Guys,
I'm new to the forums so sorry if I make any mistakes!
I'm trying to make a quiz using php and mysql.
There are going to be hundreds of questions and so to select 50 random ones I am going to use a select statement to get 50 random questions
SELECT * FROM questions ORDER BY RAND( ) LIMIT 50
But I am quite inexperienced when it comes to using PHP, I'm trying to think of the best way to show these one by one to the user.
I was thinking of inserting the 50 random questions into another table and then printing them one by one after a question has been answered.
I'm sure there must be a better way of doing this? I guessing using arrays but I haven't used them before so I'm not sure if it would be suitable.
Any help would be appreciated or any links where I can get more information.
Thanks in advance!