note 25032 added to function.shuffle
| From: | php-general at lists dot php dot net | Date: | Sun, 08 Sep 2002 14:32:13 +0000 |
| Subject: | note 25032 added to function.shuffle | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36343@lists.php.net to get a copy of this message | ||
Oups! in the code above, replace the for() control loops with:
for ($c = count($arr) - 1; $c >= 0; $c--)
--
http://www.php.net/manual/en/function.shuffle.php
http://master.php.net/manage/user-notes.php?action=edit+25032
http://master.php.net/manage/user-notes.php?action=delete+25032
http://master.php.net/manage/user-notes.php?action=reject+25032