Hi,
I'm modifying my php quiz engine to make it randomize questions. (www.techexams.net)
I'm using this code:
$number = rand(1, 25);
This results in some of the questions getting a duplicate id. Is there a simple way to 'give out' a particular number once?
For example:
if the first question (read from an xml file) gets number ID 6, that number should not be assigned/generated again, untill 1 - 25 are all 'taken'...