controller public function update() { $user_id = $this->uri->segment(2); $result = $this->customer_model->get_single_user_detail($user_id); $data['page_keywords'] = ''; $data['page_description'] = ''; $data['page_slug'] = 'not-found'; $data['page_title'] = 'Not Found'; if ($this->input->server('REQUEST_METHOD') === 'POST') { $data['formdata'] = $this->customer_model->fetch_data(); //form validation $this->form_validation->set_rules('name', 'name', 'required'); $this->form_validation->set_rules('name', 'name', 'required'); $this->form_validation->set_rules('phonenub', 'Mobile', 'required|min_length[10]|max_length[10]'); $this->form_validation->...