Richard M Ongkiko wrote:
I am trying to implement some sort of a shuffle. What I am trying to do is a random
shuffling of an array whose contents were records from a database. I am basically
trying to shuffle/randomize, questions, so that different users will have different
versions of questions in an exam, whose questions were extracted from a pool in a
database, and shuffled. Can anybody out there help me out? Coding needed in PHP...
thanks.
- Richard -
use array_rand()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php