ยอดนิยม

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-01 09:34:18' 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-01 09:34:18' ORDER BY `hits` DESC LIMIT 10