Association-Te-Huaa'i-A-Faata-Tauhiro- test Association-Te-Huaa'i-A-Faata-Tauhiro- - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'association-te-huaa'i-a-faata-tauhiro-' OR a.variations LIKE 'association-te-huaa'i-a-faata-tauhiro-' ) 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 'i-a-faata-tauhiro-' OR a.variations LIKE 'association-te-huaa'i-a-faata-tauhir' at line 1