ascend

Discussion in 'PHP' started by FriendSwapMeet.com, Mar 15, 2011.

  1. #1
    mysql_query("SELECT * FROM post WHERE id='$number'");

    how would i make this with ascending tables?
     
    FriendSwapMeet.com, Mar 15, 2011 IP
  2. joy1986joy

    joy1986joy Member

    Messages:
    189
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #2
    mysql_query("SELECT * FROM `post` WHERE `id`='$number' order by `id` ASC");
    Hope this helps.
     
    joy1986joy, Mar 16, 2011 IP
  3. FriendSwapMeet.com

    FriendSwapMeet.com Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks joy1986joy i just ouldnt think of it off the fly
     
    FriendSwapMeet.com, Mar 16, 2011 IP