Re: select daily random

2010-02-27 Thread mos
At 08:59 PM 2/27/2010, you wrote: Hello everyone, How would I select a random row that changes daily? Thanks The common way would be to do: select * from table order by rand() limit 1; You can of course add a Where clause to select only those rows that were added today. select * from tab

Re: select daily random

2010-02-27 Thread Jason Carson
...I am using PHP 5.2 > Hello everyone, > > How would I select a random row that changes daily? > > Thanks > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=ja...@jasoncarson.ca > > -- MySQL General

select daily random

2010-02-27 Thread Jason Carson
Hello everyone, How would I select a random row that changes daily? Thanks -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org