I'm trying to make it so messages are displayed like this
*Old Message
Sooner Message
Newer Message
Latest Message*
I tried a few different ways. By putting
SELECT * FROM place_chat WHERE whereto = '".mysql_real_escape_string($where)."' ORDER BY id DESC LIMIT 7"
^ But that just displays the results with the latest message at the top, so I tried this.
SELECT * FROM place_chat WHERE whereto = '".mysql_real_escape_string($where)."' ORDER BY id ASC LIMIT 7"
^ But then I released that's just going to ONLY display the oldest messages rather than adjust the way it displays and to be sure and tested it. It just displayed the oldest messages.
Could someone please explain the method of doing this? I've been trying to do it for a while now.