Andy-H Posted July 7, 2009 Share Posted July 7, 2009 Add " ORDER BY commentdate DESC" to the end of your query. Link to comment https://forums.phpfreaks.com/topic/165000-solved-select-question/page/2/#findComment-870099 Share on other sites More sharing options...
onthespot Posted July 7, 2009 Author Share Posted July 7, 2009 Ok i worked that bit out on my own, thanks again Link to comment https://forums.phpfreaks.com/topic/165000-solved-select-question/page/2/#findComment-870100 Share on other sites More sharing options...
seventheyejosh Posted July 7, 2009 Share Posted July 7, 2009 if u have an autoincrement field, just do SELECT * FROM table WHERE 1 ORDER BY `increment_field` DESC Link to comment https://forums.phpfreaks.com/topic/165000-solved-select-question/page/2/#findComment-870101 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.