Welcome Guest, Not a member yet? Register   Sign In
pagination "per_page" not working
#2

[eluser]elvix[/eluser]
you need to pass a limit (per page value) and an offset (contained in uri segment 3) to your db function.

get the offset using $this->uri->segment(3,0), so that when there's no offset, the value passed is 0.


Messages In This Thread
pagination "per_page" not working - by El Forum - 09-26-2008, 11:41 AM
pagination "per_page" not working - by El Forum - 09-26-2008, 12:44 PM
pagination "per_page" not working - by El Forum - 09-26-2008, 01:03 PM
pagination "per_page" not working - by El Forum - 09-26-2008, 01:15 PM
pagination "per_page" not working - by El Forum - 09-26-2008, 01:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB