Pagination Help - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Pagination Help (/showthread.php?tid=66471) |
Pagination Help - danbriant - 10-25-2016 Hi All, I'm running into an issue with Pagination. Not used CI in years so a little rusty. The issue is when I click on a page it does not load the data for that page and keeps it as the first record but the page number changes. What noob mistake have I done? Controller - Site.php PHP Code: public function view($offset = 0) Model - View_Model.php PHP Code: public function __construct() Routes.php PHP Code: $route['view/(:any)'] = 'site/view/(:any)'; |