O'callaghan-Christopher-Edward test O'callaghan-Christopher-Edward - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'o'callaghan-christopher-edward' OR a.variations LIKE 'o'callaghan-christopher-edward' ) 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 'callaghan-christopher-edward' OR a.variations LIKE 'o'callaghan-christopher-ed' at line 1