Pagination and standard query - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Pagination and standard query (/showthread.php?tid=52728) |
Pagination and standard query - El Forum - 06-24-2012 [eluser]nahalem[/eluser] Hi, Is it possible to build standard query like: Code: $this->db->query('....'); and implement pagination on it? If it's possible, how to do this? Pagination and standard query - El Forum - 06-24-2012 [eluser]okiksetianto[/eluser] kalau tidak salah itu berisi query SQL . :cheese: Pagination and standard query - El Forum - 06-24-2012 [eluser]InsiteFX[/eluser] You need to pass it the limit and offset. Pagination and standard query - El Forum - 06-24-2012 [eluser]nahalem[/eluser] could you show me how to pass offset to te querry, LIMIT is easy... Pagination and standard query - El Forum - 06-24-2012 [eluser]PhilTem[/eluser] http://www.petefreitag.com/item/451.cfm |