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 '55287,22119,22122)' at line 1
select version,id, titlepic,title,newstime,size,rank,smalltext,classid from ***_ecms_down where id in (,55287,22119,22122)