if use of this code, show me all data, all names and all ids. what do i do? i use of codeIgniter
With respect
$search_customer = 1;//$this->input->
Try this for the conditions:
$this->db->where('id', $search_customer); $this->db->or_where('name', $search_customer);
You can see on the docs that using get_where you use an associative array.