VICE-PRESIDENCE-EN-CHARGE-DU-BUDGET,-DU-DEVELOPPEMENT-DES-COLLECTIVITES,-DE-L'ECONOMIE-NUMERIQUE,-DE-LA-COMMUNICATION,-DES-RELATIONS-AVEC-LES-INSTITUTIONS-DE-LA-POLYNESIE-FRANCAISE test VICE-PRESIDENCE-EN-CHARGE-DU-BUDGET,-DU-DEVELOPPEMENT-DES-COLLECTIVITES,-DE-L'ECONOMIE-NUMERIQUE,-DE-LA-COMMUNICATION,-DES-RELATIONS-AVEC-LES-INSTITUTIONS-DE-LA-POLYNESIE-FRANCAISE - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'vice-presidence-en-charge-du-budget,-du-developpement-des-collectivites,-de-l'economie-numerique,-de-la-communication,-des-relations-avec-les-institutions-de-la-polynesie-francaise' OR a.variations LIKE 'vice-presidence-en-charge-du-budget,-du-developpement-des-collectivites,-de-l'economie-numerique,-de-la-communication,-des-relations-avec-les-institutions-de-la-polynesie-francaise' ) 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 'economie-numerique,-de-la-communication,-des-relations-avec-les-institutions-de-' at line 1