Hmm.. Try thread.replycount instead of just replycount
EDIT: That will work, though you'll need to make it alias to something else so that you can read the resultant variable.
Try thread.replycount AS comments
Then in the template the variable will be $news[comments]
EDIT2: To clarify the query will read as follows when you're done.
SELECT thread.threadid, thread.replycount AS comments, postusername, postuserid,
...and so on...
|