Error: wrong SQL query #SELECT COUNT(id_product) as col FROM price_products WHERE id_category IN () AND id_shop = 241 #; 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 ') AND id_shop = 241' at line 3 in filename on line 0