cooperative-scolaire-de-l'ecole-2_2 test cooperative-scolaire-de-l'ecole-2_2 - test SELECT id FROM tags as a WHERE ( a.nom LIKE '2 cooperative-scolaire-de-l'ecole-2' OR a.variations LIKE '2 cooperative-scolaire-de-l'ecole-2' ) 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 'ecole-2' OR a.variations LIKE '2 cooperative-scolaire-de-l'ecole-2' )' at line 1