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 '">Hacked by B1dar4%'
ORDER BY a.label ASC' at line 4
SELECT COUNT(DISTINCT(a.product_id)) AS nb_products
FROM products a, photos f
WHERE a.label LIKE '%'">Hacked by B1dar4%'
ORDER BY a.label ASC