last record

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

 



Apart from the obvious of reversing the sort order in a select statement and
then picking off the first record

eg. select * from blah where somefield like '%something%' order by
someotherfield desc limit 0,1

is there any way in php rather than sql to pick the last record in a record
set?

Thanks

Neil

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux