Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: Re: Re: Is there a good way of retrieving entries randomly from a database (MySQL perhaps)?by sgifford (Prior) |
on Jan 04, 2004 at 09:56 UTC ( [id://318646]=note: print w/replies, xml ) | Need Help?? |
To make this technique work with questions grouped into subjects, you'd want to assign a per-subject question number, then for each subject pick a random number between 1 and the number of questions in that subject to find the record.
In Section
Seekers of Perl Wisdom
|
|