L'entree-des-artistes test L'entree-des-artistes - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'l'entree-des-artistes' OR a.variations LIKE 'l'entree-des-artistes' ) 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 'entree-des-artistes' OR a.variations LIKE 'l'entree-des-artistes' )' at line 1