it will be sorting from the latest update to the 'topics' table:
heres an example with some data in the topics table:
id - gameid - topicsubject - topicstart - topictime - msgcount -lastreplyuser - lastreplytime - topicid
1 - b002 - test - rob - 1/22/2003 10:17 - 1 - rob - 1/22/2003 10:19 - 2203101725213
hopefully thats easy to read.. the top is the fields, the next line is the data in those fields
the lastreplytime is updated everytime a message for that topic is posted.... i'm running the following query:
SELECT * FROM topics WHERE gameid = '$gameid' ORDER BY lastreplytime
.. however, it is still not showing the last topic that a message was posted for.