![]() |
Help me please,, Pagination url problem (v.2.1) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Help me please,, Pagination url problem (v.2.1) (/showthread.php?tid=50337) |
Help me please,, Pagination url problem (v.2.1) - El Forum - 03-22-2012 [eluser]Unknown[/eluser] $config['base_url'] = site_url('users/index/'); $config['per_page'] = 5; $config['total_rows'] = $this->user_model->record_count(); $config['uri_segment'] = 3; $config['page_query_string'] = TRUE; $this->pagination->initialize($config); $data['users'] = $this->user_model->get_users('users', $config['per_page'], $this->uri->segment(3)); // limit ($config['per_page'], $this->uri->segment(3)) $this->load->view('users/index', $data); 1. if path http://127.0.0.1/cidemo/?users/index/5 work but I mouse hover pagination links 1 2 3 .. result links http://127.0.0.1/cidemo/?users/index/&per;_page=5 I need to delete &per;_page= $config['uri_protocol'] = 'QUERY_STRING'; $config['enable_query_strings'] = TRUE; Thank you,, |