Le-Boulc'h-Anne-sophie test Le-Boulc'h-Anne-sophie - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'le-boulc'h-anne-sophie' OR a.variations LIKE 'le-boulc'h-anne-sophie' ) 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 'h-anne-sophie' OR a.variations LIKE 'le-boulc'h-anne-sophie' )' at line 1