SQL syntax error in query:
#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 ''172') AND `Active` = '1' ORDER BY RAND() LIMIT 1' at line 1SELECT * FROM `shop_products` WHERE `ID` NOT IN (,'172') AND `Active` = '1' ORDER BY RAND() LIMIT 1