SQL: SELECT f.name AS forumname, f.allowsmilies, f.allowhtml, f.allowbbcode, f.allowimgcode,
t.tid, t.fid, t.author, t.authorid, t.subject, t.dateline, t.attachment,
p.pid, p.message, p.useip, p.attachment, p.htmlon, p.smileyoff, p.bbcodeoff
FROM [Table]threads t
LEFT JOIN [Table]posts p ON p.tid=t.tid
LEFT JOIN [Table]forums f ON f.fid=t.fid
WHERE t.displayorder='-2'
ORDER BY t.dateline DESC LIMIT 0, 10
Error: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
Errno.: 1104