Re: using Mysql's RAND()

From: Date: Mon, 08 Oct 2001 08:58:07 +0000
Subject: Re: using Mysql's RAND()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-70327@lists.php.net to get a copy of this message
thanks for the tip! "Matthew Loff" <matt@willetts.com> wrote in message news:002001c14f7d$81646070$0ce60281@bang... > > 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 >

« previous php.general (#70327) next »