societe-tahitienne-d'etudes- test societe-tahitienne-d'etudes- - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'societe-tahitienne-d'etudes-' OR a.variations LIKE 'societe-tahitienne-d'etudes-' ) 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 'etudes-' OR a.variations LIKE 'societe-tahitienne-d'etudes-' )' at line 1