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