Groupe-D'etude-Des-Mammiferes-Marins-(gemm) test Groupe-D'etude-Des-Mammiferes-Marins-(gemm) - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'groupe-d'etude-des-mammiferes-marins-(gemm)' OR a.variations LIKE 'groupe-d'etude-des-mammiferes-marins-(gemm)' ) 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 'etude-des-mammiferes-marins-(gemm)' OR a.variations LIKE 'groupe-d'etude-des-m' at line 1