Welcome Guest, Not a member yet? Register   Sign In
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.




Theme © iAndrew 2016 - Forum software by © MyBB