View Single Post
Old 01-29-2009, 02:48 PM   #2 (permalink)
jon
The Visitor
 
jon's Avatar
 
Join Date: May 2005
Posts: 4
Thanks: 0
jon is on a distinguished road
Default

I managed to solve the problem. Rather than trying to do some out-of-my-depth mysql query I added another column to "thread" called "lastupdate". Then each time a new comment was made inserted the current timestamp into the thread table as well as the date column on the comments table.

Now it's working like a charm.
__________________
yesthat.com
jon is offline  
Reply With Quote