Pagination Problem |
[eluser]Unknown[/eluser]
Code: $config['base_url'] = $this->config->site_url().'/welcome/page'; In the model, I have: Code: function getAllSites($page, $perpage) { This code works absolutely fine. There is no problem with the code. The way it behaves is weird. Click on link for page 2 has a URL like http://localhost/review/index.php/reviews/id/1 Page 2 has '1' in the link which is what I didn't like. Is there any way to fix this so that Page 1 shows 1 in the URL and Page 2 shows '2'? I can then modify my model accordingly. The problem with this URL is that it confuses people, they thing its first page when its actually seconds. Am I missing something? |
Messages In This Thread |
Pagination Problem - by El Forum - 01-09-2010, 07:03 AM
Pagination Problem - by El Forum - 01-09-2010, 01:02 PM
Pagination Problem - by El Forum - 01-09-2010, 01:43 PM
|