Warning: implode(): Invalid arguments passed in /var/www/web387/public_html/www/index.php on line 178
1064 - 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 ')' at line 1

SELECT count(c.categories_id) as total FROM products_to_categories p2c LEFT JOIN categories c ON p2c.categories_id = c.categories_id WHERE (c.categories_status = 1 and c.parent_id = '415' OR c.categories_id = '415') AND p2c.products_id IN ()