pagination problem |
[eluser]Mainboard[/eluser]
hey everyone, i have a little problem with the pagination and i don't know why, the problem is when i pass to the other page, the fields only add to the first page and not load page per page, i charge my pagination in a main html, i don't know if that matter, so my pagination works but not page per page, any idea?
[eluser]Wondering Coder[/eluser]
posting your code will be very helpful to solve your problem!
[eluser]pickupman[/eluser]
Without seeing code, its hard to give an exact answer. If had to guess you are not sending the proper offset/limit to your DB call (assuming in a model) using the URI parameters. Say you have 25 results per page setup in your pagination configuration. First call will fetch from record 0 to 24 (25 total). You click on the pagination link (/somepage/50), and now you are passing that 50 as the limit (0 to 49).
[eluser]Mainboard[/eluser]
yeah sorry, well this is my code my Controller Code: function display () Code: <body> |
Welcome Guest, Not a member yet? Register Sign In |