Ymart News
MySQL err: Lost connection to MySQL server during query
SELECT forumsTopics.forumsTopicsID, forumsTopics.dateCreated, forumsTopics.subject, forumsTopics.replies, forumsTopics.authorUsername, forumsTopics.messageHTML, forumsTopics.lastPostDate, forumsTopics.lastPostUsername, forumsTopics.authorUserID, lastPostUsername, authorUsername, forumsID, community, resources
FROM forumsTopics
WHERE authorUserID='2'
AND forumsID=46
OR forumsTopicsID IN (SELECT DISTINCT forumsTopicsID FROM forumsTopicsReplies WHERE authorUserID='' ORDER BY dateCreated DESC)
ORDER BY forumsTopics.lastPostDate DESC LIMIT 2