I have a problem with using use_page_numbers config set to true in my pagination class! When I click on the link of page 2, the number of rows it retrieves from database is cor
You have a problem in calculation of offset variable.... Try this one:
$page_num = $this->uri->segment(4, 0); $offset = ($page_num - 1) * $config['per_page'];