Unknown column 'tmwl' in 'where clause' SELECT COUNT(id) FROM forum_topics WHERE forum_id = 21 AND top = 0 AND special_id = tmwl AND in_recycle = 0

[error string missing]

SELECT * FROM forum_topics WHERE forum_id = 21 AND top = 0 AND special_id = tmwl AND in_recycle = 0 ORDER BY lastdatetime DESC LIMIT 0, 25