Error infos: 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 's%' or m.v_actor like '%Mother%' or m.v_actor like '%Asha%' or m.v_actor like '%' at line 1 Error sql: select m.*,0,0 from sea_data m where m.v_recycled=0 and m.v_actor like '%Jyoti's%' or m.v_actor like '%Mother%' or m.v_actor like '%Asha%' or m.v_actor like '%Devi%' or m.v_actor like '%Badri%' or m.v_actor like '%Singh%' or m.v_actor like '%Mukesh%' or m.v_actor like '%Singh%' order by v_weekhit desc LIMIT 0,6