pwes24 Posted January 4, 2008 Share Posted January 4, 2008 Hello everyone, I'd like to sort a table(descending) after fetching it. What expressions should I use. Also if you know where I can read more on this and other related topics, please let me know. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/84519-sorting-table-content/ Share on other sites More sharing options...
revraz Posted January 4, 2008 Share Posted January 4, 2008 You can order by in your query, no need to do it after. ORDER BY fieldname DESC http://dev.mysql.com/doc/refman/5.0/en/ Quote Link to comment https://forums.phpfreaks.com/topic/84519-sorting-table-content/#findComment-430623 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.