Wong-O'neal-Timanutea-Alexandre test Wong-O'neal-Timanutea-Alexandre - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'wong-o'neal-timanutea-alexandre' OR a.variations LIKE 'wong-o'neal-timanutea-alexandre' ) 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 'neal-timanutea-alexandre' OR a.variations LIKE 'wong-o'neal-timanutea-alexandr' at line 1