Re: [PHP] using Mysql's RAND() From: _lallous (elias_bachaalany <email protected>)
Date: 10/08/01

thanks for the tip!

"Matthew Loff" <matt <email protected>> wrote in message
news:002001c14f7d$81646070$0ce60281 <email protected>
>
> SELECT * FROM table ORDER BY RAND() LIMIT 1;
>
>
> -----Original Message-----
> From: Christian Dechery [mailto:cdechery <email protected>]
> Sent: Sunday, October 07, 2001 5:51 PM
> To: php-general <email protected>
> 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 <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>