Was wondering if anyone could give me any tips on this before i got started and got bogged down going down the wrong path!
I need to be able to select 20 distinct records from a database - but the selection also needs to be random. Its basically for a quiz so I cant have the same question sets repeating themselves.
I had thought to randomly select the questions id and store in an array and then just go through it for next question each time. Its just the randomly selecting part im not sure of!
Any thoughts or suggestions for me to try, pls just say, I'll give it a go.
Cheers
I need to be able to select 20 distinct records from a database - but the selection also needs to be random. Its basically for a quiz so I cant have the same question sets repeating themselves.
I had thought to randomly select the questions id and store in an array and then just go through it for next question each time. Its just the randomly selecting part im not sure of!
Any thoughts or suggestions for me to try, pls just say, I'll give it a go.
Cheers