CodeIgniter Forums
Pagination on array - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Pagination on array (/thread-10432.html)



Pagination on array - El Forum - 07-30-2008

[eluser]Computerzworld[/eluser]
Hello Experts. I want to apply paging on resultant array generated by $query->result(). Is it possible to apply paging on array? If yes then how can I apply paging and divide that array result into number of pages. Please help me. Thanks in advance.


Pagination on array - El Forum - 07-31-2008

[eluser]sophistry[/eluser]
welcome to CI... um, by any chance, did you look at the (very good) documentation on the pagination class built into CI?