SELECT p.titolo_it, p.testo_it, p.mod_rewrite_it , p.id, p.categoria, p.sconto_prod, p.prezzo, p.produttore, p.foto, p.thumb, p.foto_crop, p.prezzo AS prezzo_orig, cp.sconto, cp.sconto_estero, cp.preventivo, pr_inc.percentuale FROM `prodotti` AS p LEFT JOIN prodotti_price_inc AS pr_inc ON(p.id=pr_inc.prod_id AND pr_inc.country_id=104) LEFT JOIN categorie_produttori AS cp ON (cp.id=p.produttore) LEFT JOIN categorie AS c ON(c.id=p.categoria) WHERE p.aut=2 AND c.aut=2 AND p.id IN() LIMIT 0
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') LIMIT 0' at line 5