Derek_Trotter
12-08-2008, 07:51 AM
Hi,
How can I modify this query:
SELECT thread.title, post.username, post.threadid, post.postid, TIME_FORMAT(time(from_unixtime(post.dateline )), '%H:%i')AS PostTime from post left join thread on post.threadid =thread.threadid order by post.postid desc limit 5
I want to extract last 5 posts, from deferent threads.
(Something like on New Posts search)
Thanks
How can I modify this query:
SELECT thread.title, post.username, post.threadid, post.postid, TIME_FORMAT(time(from_unixtime(post.dateline )), '%H:%i')AS PostTime from post left join thread on post.threadid =thread.threadid order by post.postid desc limit 5
I want to extract last 5 posts, from deferent threads.
(Something like on New Posts search)
Thanks