Welcome Guest, Not a member yet? Register   Sign In
How to limit the resultset when using pagination?
#4

[eluser]jegbagus[/eluser]
kbkb, add LIMIT query at your sql.
example :
Code:
select * from yourtable limit 10,5
10 will be the number generated by CI pagination library, and 5 number of row every page.

best regard


Messages In This Thread
How to limit the resultset when using pagination? - by El Forum - 09-10-2009, 09:41 AM
How to limit the resultset when using pagination? - by El Forum - 09-10-2009, 09:51 AM
How to limit the resultset when using pagination? - by El Forum - 09-10-2009, 08:39 PM
How to limit the resultset when using pagination? - by El Forum - 09-10-2009, 09:34 PM
How to limit the resultset when using pagination? - by El Forum - 09-10-2009, 11:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB