- grab all questions IDs,
- put IDs in the list
- generate random from 1 to size of the list
- get ID from list at position that has value of randomly generated number
You have random question in the simplest way
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902