Rahul gamit Posted March 1, 2011 Share Posted March 1, 2011 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. Link to comment https://forums.phpfreaks.com/topic/229247-problem-in-pagination/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.