Passing page number to the pagination class? - 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: Passing page number to the pagination class? (/showthread.php?tid=9547) |
Passing page number to the pagination class? - El Forum - 06-29-2008 [eluser]FuturShoc[/eluser] Hi, folks. I've got a search() function working in my controller and its finding the database record I want. I also have the database contents showing and browsing nicely in a view. My problem: I need to take the user directly to the page number on which their searched record is found within the pagination. I see that page number value exists in the last URI segment of the pagination as a user clicks "next" and "prev". But I don't see an obvious way to pass that value at load view time. ($this->load->view) Any help would be greatly appreciated. T.J. |