...

View Full Version : Resolved Id



SRBuckey5266
10-11-2009, 12:11 AM
What is the code to order items from the last to first ID in the database, instead of the first to last. I don't want 1 2 3, I want 3 2 1 displayed.

Current code:



$extract = mysql_query("SELECT * FROM news ORDER BY id ASC");


What do I replace ASC with?

SRBuckey5266
10-11-2009, 12:23 AM
I got it, never mind.

SRBuckey5266
07-13-2012, 11:53 PM
Rofl...

How pathetic.

tangoforce
07-14-2012, 02:29 AM
Rofl...

How pathetic.

Not if you didn't know it isn't. No-one is born with the information in their head - we've all had to find out somehow :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum