MA'A-MARCELINE-ERENA-TIMO test MA'A-MARCELINE-ERENA-TIMO - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'ma'a-marceline-erena-timo' OR a.variations LIKE 'ma'a-marceline-erena-timo' ) 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 'a-marceline-erena-timo' OR a.variations LIKE 'ma'a-marceline-erena-timo' )' at line 1