ASSOCIATION-MOTO-CLUB-(TEAM-HITIA'A-O-TE-RA) test ASSOCIATION-MOTO-CLUB-(TEAM-HITIA'A-O-TE-RA) - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'association-moto-club-(team-hitia'a-o-te-ra)' OR a.variations LIKE 'association-moto-club-(team-hitia'a-o-te-ra)' ) 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 'a-o-te-ra)' OR a.variations LIKE 'association-moto-club-(team-hitia'a-o-te-ra)' at line 1