[php] most recent row from table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

how do you select the most recent row from sql table if the date are stored
this format  date('Y-m-d H:i:s')  e.g (2009-06-02 10:10:30)

i have tried select top 1 from table where id = xx
any solution
-- 
www.bemycandy.com

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux