...

View Full Version : Display users from Newest to Oldest



Ruthless.
02-23-2012, 10:39 PM
Hey,

I am designing a website. I was wondering in the admin panel how would I display users from newest to oldest.

Fou-Lu
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.

stevenmw
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum