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 'Neill%' or player like '%RoseO'Neill%' or playadmin like '%RoseO'Neill%')' at line 1
select classid from ***_ecms_movie where (title like '%RoseO'Neill%' or player like '%RoseO'Neill%' or playadmin like '%RoseO'Neill%')