Pagination problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Pagination problem (/showthread.php?tid=36144) |
Pagination problem - El Forum - 11-23-2010 [eluser]orladin[/eluser] Hi there, I'm trying to make a pagination with codeigniter. The problem is i don't know how to make variable $no to follow the number from the paging. Right now when i click at any paging it still start with no 1 till 10 thanks Controller ---------------- Code: function lists() View ----------------- Code: <?php Pagination problem - El Forum - 11-23-2010 [eluser]Deveron[/eluser] Hi Orladin, i answered this kind of question already in this thread: http://ellislab.com/forums/viewthread/173597/ Pagination problem - El Forum - 11-23-2010 [eluser]orladin[/eluser] have try it but still doesn't work Pagination problem - El Forum - 11-23-2010 [eluser]pickupman[/eluser] Try in your view Code: $no = $this->uri->segment(5,0); Pagination problem - El Forum - 11-23-2010 [eluser]orladin[/eluser] excellent pickupman, now it works! thanks |