note 94882 deleted from function.rand by danbrown
| From: | danbrown@php.net | Date: | Mon, 30 Nov 2009 21:20:30 +0000 |
| Subject: | note 94882 deleted from function.rand by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-163434@lists.php.net to get a copy of this message | ||
Note Submitter: Ilan Hazan
----
There is another way to produce random rows from MySQL (only) query and without order by rand.
It is using a User Defined Variables.
See http://www.mysqldiary.com/how-to-produce-random-rows-from-a-table/