Error Message:
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 'ORDER BY RAND(9995) LIMIT 5' at line 1
SQL:
SELECT * FROM CubeCart_inventory WHERE disabled != '1' AND showPopular = 1 AND cat_id = ORDER BY RAND(9995) LIMIT 5