SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-2, 5' at line 15
SELECT
f.forum_id, f.forum_name, t.topic_title, t.topic_id, t.topic_last_post_id, t.topic_poster, t.topic_views, t.topic_replies, t.topic_type, t.topic_status,
p2.post_time, p2.poster_id,
u.username as last_username, u.user_color_gc as last_color,
u2.username as author_username, u2.user_color_gc as author_color
FROM nuke_bbforums f, nuke_bbposts p, nuke_bbtopics t, nuke_bbposts p2, nuke_users u, nuke_users u2
WHERE
f.forum_id IN (56)
AND t.forum_id = f.forum_id
AND p.post_id = t.topic_first_post_id
AND p2.post_id = t.topic_last_post_id
AND t.topic_moved_id = 0
AND p2.poster_id = u.user_id
AND t.topic_poster = u2.user_id
ORDER BY t.topic_last_post_id DESC LIMIT -2, 5