Welcome Guest, Not a member yet? Register   Sign In
CI Pagination using db result object
#1

[eluser]Skuja[/eluser]
Hello, i am making complex search query and i'm stuck with a way how to paginate it with CI pagination class.
So i have successfully retrieved db query result object and set the total_rows nad other neccesary pagination config params. And i wonder how to get the pagination result form this object instead of running the query again with setting page number and offset.




Theme © iAndrew 2016 - Forum software by © MyBB