• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing page number to the pagination class?

#1
[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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.