search result from sql error with codeigniter's pagination index -
i have table pagination . first, select data db, , pagination works perfectly. then, started filter data (search data, example : using where in sql). pagination's 1st index working (showing data) when click next index (2nd, 3rd) data going default (the filter ( where , like ) not working). this model used pagination ( i think made mistake here ) : public function get_umat() { $this->db->select('*')->from('msumat')->limit(10, $this->uri->segment(3)); $this->db->join('mskelas', 'msumat.kelas_id = mskelas.kelas_id'); $search = $this->input->post('ddl_search'); $kelas = $this->input->post('ddl_kelas'); $kelas1 = $this->input->post('ddl_kelas1'); $kelas2 = $this->input->post('ddl_kelas2'); $nama = $this->input->post('txt_nama'); $alamat = $this->input->post('txt_alamat...