ยอดนิยม

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-07-21 08:42:47' 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-07-21 08:42:47' ORDER BY `hits` DESC LIMIT 10