Notice: Undefined variable: product_id in /var/www/ on line 73Notice: Undefined variable: category_id in /var/www/ on line 205Notice: Error: 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 ') ORDER BY RAND() LIMIT 15' at line 1
Error No: 1064
SELECT product_id FROM product_to_category WHERE product_id !=543 AND `category_id` IN() ORDER BY RAND() LIMIT 15 in /var/www/ on line 27