For navigation pagination is working good, but whenever i am deleting any record then the pagination is not working.
i have used inbuilt class of pagination.
//controller
function GetAllSystemSolution()
{
$perpage=(int)5;
$config['base_url'] = 'http://localhost:8080/Codeigniter/index.php/Controller/GetAllSystemSolution/';
tblsystemsolution table.
$config['total_rows'] = $this->db->get('tblsystemsolution')-> num_rows();
$config['per_page'] = '5';
$this->session->set_userdata('PaginationNumber',$this->uri->segment(3));
$data['query'] = $this->ModelSystemSolution->GetSystemSolution($perpage,(int)$this->uri->segment(3));
$this->pagination->initialize($config);
$this->load->view('ViewAllSystemSolution',$data);
}
//view
$this->pagination->create_links();
so, page navigation is working fine, but whenever i am deleting the record the pagination is not working.