Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2003
    Location
    UK
    Posts
    174

    PHP/MYSQL Problem

    Hiya guys, I'm setting up a database where I'll be adding between 3000-5000 entries and then reading from php etc..
    however I need my PHP code to list them backwards..
    ie. from the bottom to the top so last one added is showed at top of the list etc..

    how would I be able to do this?

  2. #2
    Join Date
    Dec 2002
    Location
    chica go go
    Posts
    11,858
    SELECT * from tablename ORDER By columnname DESC

  3. #3
    Join Date
    Nov 2003
    Location
    UK
    Posts
    174
    ah ok I really should have just guessed that hehe feel stupid now
    lol

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •