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 '65802638,65800824,65781378,65766981,65737489,65733026,65728388,65717323,65717...' at line 1 AT SELECT *,fgn_news.link as url FROM fgn_news,fgn_src WHERE news_id IN(65853329,65839089,65827108,65826132,65819641,,65802638,65800824,65781378,65766981,65737489,65733026,65728388,65717323,65717013,65716610,65716484,65709007,65702847,65701990) AND fgn_news.src_id=fgn_src.src_id ORDER BY news_id DESC LIMIT 20