O'connor-Viviane-Ruita-Tehoiri test O'connor-Viviane-Ruita-Tehoiri - test SELECT id FROM tags as a WHERE ( a.nom LIKE 'o'connor-viviane-ruita-tehoiri' OR a.variations LIKE 'o'connor-viviane-ruita-tehoiri' ) 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 'connor-viviane-ruita-tehoiri' OR a.variations LIKE 'o'connor-viviane-ruita-teh' at line 1