![]() |
CI Pagination function only working for 1st page - 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: CI Pagination function only working for 1st page (/showthread.php?tid=47488) |
CI Pagination function only working for 1st page - El Forum - 12-10-2011 [eluser]Unknown[/eluser] Hi guys, this is my first post so sorry for asking something that's already been asked. I've tried looking through the other examples and have tried to figure it out on my own but just cant seem to get it. My code in the controller looks like this : Code: function index() { The code i'm using in my view to display the thing is the following: Code: <?php echo $this->table->generate($records); ?> The big issue here is that it works for the first page very well. But when I click the second page I either get an apache error Quote:Object not found!or Quote:404 Page Not Foundin a CI error message if I keep the 'index' in the base_url config. Any ideas on what i'm doing wrong? Thanks for any help on this. |