ยอดนิยม

Query error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND `publishdate` <= '2024-11-22 22:20:54' ORDER BY `hits` DESC LIMIT 10' at line 3 - Invalid query: SELECT `id`, `catid`, `icon`, `contentName`, `chkbanner`, `banner`, `accesslevel`, `lastUpdate`, `published`, `publishdate`, `hits` FROM `th_maincontent` WHERE `catid` IN() AND `publishdate` <= '2024-11-22 22:20:54' ORDER BY `hits` DESC LIMIT 10