RE: [PHP] using Mysql's RAND()
| From: | Matthew Loff | Date: | Sun, 07 Oct 2001 22:14:59 +0000 |
| Subject: | RE: [PHP] using Mysql's RAND() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70304@lists.php.net to get a copy of this message | ||
SELECT * FROM table ORDER BY RAND() LIMIT 1;
-----Original Message-----
From: Christian Dechery [mailto:cdechery@easynet.com.br]
Sent: Sunday, October 07, 2001 5:51 PM
To: php-general@lists.php.net
Subject: [PHP] using Mysql's RAND()
can I use Mysql's RAND() to get a random row from a table???
_____________________________
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net