note 24396 added to function.shuffle
| From: | webmaster at klippanlan dot net | Date: | Thu, 15 Aug 2002 09:46:58 +0000 |
| Subject: | note 24396 added to function.shuffle | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35055@lists.php.net to get a copy of this message | ||
scott, I get the same results (shuffle() makes the same list no matter what) when trying to shuffle
an array that whas fetched from an mySQL statement. Though, shuffle doesn't access it from
anything by a mysql-function, it reads the array with a while loop. Very strange, maybe a programmer
from PHP! can check this out?
--
http://www.php.net/manual/en/function.shuffle.php
http://master.php.net/manage/user-notes.php?action=edit+24396
http://master.php.net/manage/user-notes.php?action=delete+24396
http://master.php.net/manage/user-notes.php?action=reject+24396