Author Topic: Messaging system help  (Read 377 times)

Offline tokyoinflames1

  • Level 4
  • *
  • Posts: 11
  • Reputation: +0/-0
    • View Profile
Messaging system help
« on: April 21, 2010, 08:02:08 PM »
I have an in game messaging sytem currently programmed in my game, however, I can't seem to get it to display the way I want.  It currently displays in a format where it shows the message at the top of the database and then down, I want to get it so it displays from the bottom of the database then up.  Can anyone give me a hand at this?

Offline Sagefire135

  • Level 14
  • *
  • Posts: 107
  • Reputation: +2/-0
    • View Profile
Re: Messaging system help
« Reply #1 on: April 21, 2010, 09:54:33 PM »
at the end of the query to select messages add on ORDER BY = ASC or DESC. ASC sorts ascending (bottom to top) while DESC is descending.

Offline tokyoinflames1

  • Level 4
  • *
  • Posts: 11
  • Reputation: +0/-0
    • View Profile
Re: Messaging system help
« Reply #2 on: April 26, 2010, 10:38:50 PM »
I had to rearrange where to put the ORDER BY, but I got it to post correctly.  Thanks for the help

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal