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 ') and ((subcategories_id = 5)) order by valeur' at line 1
select products_id as valeur from products_quick_view where products_id = products_id and () and ((subcategories_id = 5)) order by valeur