SQL: SELECT COUNT(*) FROM [Table]companyitems i, [Table]companymessage m WHERE i.itemid=m.itemid AND i.catid IN () AND 1
Error: 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 ') AND 1' at line 1