O'connor-Marie-Nola-Titaua test O'connor-Marie-Nola-Titaua - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'o'connor-marie-nola-titaua' OR a.variations LIKE 'o'connor-marie-nola-titaua' ) 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-marie-nola-titaua' OR a.variations LIKE 'o'connor-marie-nola-titaua' ' at line 1