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