here is the query:
$query = "
SELECT * FROM cbs_tasks
WHERE team_member_id = $uid and task_title LIKE '%".$search."%'
OR task_desc LIKE '%".$search."%'
OR task_cat LIKE '%".$search."%'
OR task_priority LIKE '%".$search."%'
OR status LIKE '%".$search."%'
";