H harrylmh New Member Aug 23, 2002 #1 Hi, could someone tell me what's the statement to get only the 5 latest records by date? Thanks
G Ganon of Evil New Member Aug 23, 2002 #2 "SELECT * FROM yourtable ORDER BY time DESC LIMIT 5" The time variable must be a unix timestamp (which is a number).
"SELECT * FROM yourtable ORDER BY time DESC LIMIT 5" The time variable must be a unix timestamp (which is a number).