Hi, I'm newbie for codeigniter.
I'm now learning of pagination class, and while trying to practice example in Codeigniter's documentation, I had a problem
Code:
$this->load->library('pagination');
$config['base_url'] = 'http://example.com/index.php/test/page/';
$config['total_rows'] = 200;
$config['per_page'] = 20;
$this->pagination->initialize($config);
echo $this->pagination->create_links();
This is the exactly same example in the documentation, and I think it doesn't work in php 7.1.
I display pagination like "123>Last>" which should have had 10 links(but three links were shown up).
What mistake did I make?