[eluser]n0xie[/eluser]
[quote author="John Pantoja" date="1264003035"][quote author="n0xie" date="1264002916"]Remove any routes. Add this to your paginating.
Code:
$config['base_url'] = 'http://myapp/welcome/';
$config['uri_segment'] = 2;
[/quote]
Ah so what I was posted a bit before is correct then? url_seg is passed to the arg for index.[/quote]
Yes and no. The pagination class 'knows' which page you are on depending on the url segment after your controller/funcion name, with controller being the first uri_segment, function the 2nd, and the argument the 3rd. In this case you didn't specify a function name so it automatically loads the index() function. This means that it need to look at the 2nd uri_segment instead of the 3rd.