• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI Pagination using db result object

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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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