View Full Version : Display users from Newest to Oldest
02-23-2012, 10:39 PM
I am designing a website. I was wondering in the admin panel how would I display users from newest to oldest.
02-23-2012, 11:29 PM
This is simply adding an ORDER BY on your query to force the order by a registered timestamp or if you use an autoincrement id you can use this, and specify it as DESC in order.
02-23-2012, 11:33 PM
SELECT * FROM myTable ORDER BY id DESC
if that isn't what you want try searching for tutorials having to do with ORDER BY.
Take into consideration what Fou-Lu said. The id has to have autoincrement set.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.