Jump to content

Rahul gamit

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Rahul gamit's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.