Date: 10/08/01
- Next message: Negrea Mihai: "[PHP] only one user logged in"
- Previous message: _lallous: "[PHP] Re: case insensitive replace"
- In reply to: Matthew Loff: "RE: [PHP] using Mysql's RAND()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Negrea Mihai: "[PHP] only one user logged in"
- Previous message: _lallous: "[PHP] Re: case insensitive replace"
- In reply to: Matthew Loff: "RE: [PHP] using Mysql's RAND()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

