apel-de-l'-ecole-nahoata-primaire-(pirae) test apel-de-l'-ecole-nahoata-primaire-(pirae) - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'apel-de-l'-ecole-nahoata-primaire-(pirae)' OR a.variations LIKE 'apel-de-l'-ecole-nahoata-primaire-(pirae)' ) 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-nahoata-primaire-(pirae)' OR a.variations LIKE 'apel-de-l'-ecole-nahoat' at line 1