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 '07 PRM ESS Shoes' and a.categories_id=4 and d.language_id = ' 1 ' ORDER BY r' at line 1
in:
[SELECT * FROM categories a, categories_description b,products c,products_description d where c.products_status=1 and a.categories_id = b.categories_id and c.products_id = d.products_id and c.products_color = 'Women Nike Wmns Air Force 1 '07 PRM ESS Shoes' and a.categories_id=4 and d.language_id = ' 1 ' ORDER BY rand() LIMIT 5]