Randomize mySQL result array
| From: | H Marc Bower | Date: | Sun, 10 Aug 2003 21:46:26 +0000 |
| Subject: | Randomize mySQL result array | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21106@lists.php.net to get a copy of this message | ||
This probably isn't strictly a PHP question, but I beg the indulgence of those who know mySQL
as well...
I have a result array grabbed from a mysql table. Is there a quick way to randomize the order that
the rows fall into the array instead of "as they are extracted from the table" order?
Thank you,
Marc
-=-=-=-=-
No testimony is sufficient to establish a miracle unless the testimony be of such a kind that its
falsehood would be more miraculous than the fact which it endeavours to establish. - David Hume
-=-=-=-=-