Welcome Guest, Not a member yet? Register   Sign In
Pagination w/ Query Strings Enabled (Is this the correct way)
#1

[eluser]blasto333[/eluser]
I am in the customers controller with query string enabled. Would this be the correct way to setup pagination. (It appears to work)

Code:
$config['base_url'] = site_url('?c=customers&m=index');
$config['total_rows'] = $this->Customer->count_all();
$config['per_page'] = '20';
$this->pagination->initialize($config);


Messages In This Thread
Pagination w/ Query Strings Enabled (Is this the correct way) - by El Forum - 04-12-2011, 01:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB