Quote:Controller Code: public function existing() // Recieved, Unsolved { $this->load->database(); $this->load->model('Docs_model'); $this->load->library('table'); $this->data['query'] = $this->Docs_model->viewexisting(); $this->render('admin/docs/existing_view', $this->data); }
public function existing() // Recieved, Unsolved { $this->load->database(); $this->load->model('Docs_model'); $this->load->library('table'); $this->data['query'] = $this->Docs_model->viewexisting(); $this->render('admin/docs/existing_view', $this->data); }
//... $template = 'your_template'; $this->render('admin/docs/existing_view', $template);