Welcome Guest, Not a member yet? Register   Sign In
Pagination and segment URIs
#3

Great, that did the trick!

In the controller, i changed the function to

Code:
public function index($page = 1)

and the $data['usergroups']
to


Code:
$data['usergroups'] = $model->paginate(5, 'test', $page, 2);


Works like a charm Smile
Reply


Messages In This Thread
Pagination and segment URIs - by mboehmlaender - 07-06-2020, 10:44 PM
RE: Pagination and segment URIs - by jreklund - 07-06-2020, 11:37 PM
RE: Pagination and segment URIs - by mboehmlaender - 07-06-2020, 11:47 PM
RE: Pagination and segment URIs - by jreklund - 07-07-2020, 02:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB