dennismonsewicz Posted April 1, 2008 Share Posted April 1, 2008 How would I order a list of items out of a Database using the newest entry or even the newest timestamp? $sqlcount = "select * from uploads order by timestamp ASC limit 10"; Link to comment https://forums.phpfreaks.com/topic/98998-order-by-newest-timestamp/ Share on other sites More sharing options...
discomatt Posted April 1, 2008 Share Posted April 1, 2008 ORDER BY DESC DESC = descending = highest to lowest Link to comment https://forums.phpfreaks.com/topic/98998-order-by-newest-timestamp/#findComment-506576 Share on other sites More sharing options...
dennismonsewicz Posted April 1, 2008 Author Share Posted April 1, 2008 thanks! Link to comment https://forums.phpfreaks.com/topic/98998-order-by-newest-timestamp/#findComment-506577 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.