Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Reading the database backward
Index -> Programming, PHP -> PHP Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Homer_simpson




PostPosted: Thu Aug 28, 2003 4:06 pm   Post subject: Reading the database backward

Possible or not? if it's not possible i guess i'll have to read all the database into an array then view the array backward...
here's the reason i'm doing this:
http://backstabbers.no-ip.com/viewfiles.php

right now it views my files from oldest to newest i need it to be from newest to olders...
Sponsor
Sponsor
Sponsor
sponsor
Amailer




PostPosted: Thu Aug 28, 2003 4:59 pm   Post subject: (No subject)

use order by DESC or ASC
i.e: SELECT * FROM table_name ORDER BY name DESC;
Homer_simpson




PostPosted: Thu Aug 28, 2003 9:02 pm   Post subject: (No subject)

+10 bits TY
Amailer




PostPosted: Fri Aug 29, 2003 11:08 am   Post subject: (No subject)

np
thx
Display posts from previous:   
   Index -> Programming, PHP -> PHP Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: