SELECT id,titolo,rid,prezzo,autore,usa_iniziali,status FROM dike_prodotto WHERE 1 AND promo ='n' AND offerta='n' AND cid <> '6' AND attivo='y' AND coid IN () ORDER BY pos ASC, id DESC LIMIT 0,12
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 ') ORDER BY pos ASC, id DESC LIMIT 0,12' at line 7