o'connor-jacques-robert test o'connor-jacques-robert - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'o'connor-jacques-robert' OR a.variations LIKE 'o'connor-jacques-robert' ) 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 'connor-jacques-robert' OR a.variations LIKE 'o'connor-jacques-robert' )' at line 1