title: Codeigniter's pagination navigation don't work
body: <p>Last days I am playing with CI's pagination. I already set up config and the thing works perfectly. In the function of controller I have created some IF statements which are checking url.</p>
  
  <pre><code>IF url is localhost/CI/index.php/controller/function/news
  THEN return first page of results from database -&gt; first page
  BUT IF url is localhost/CI/index.php/controller/function/news/10
  THEN return second page of results from database -&gt; second page
  </code></pre>
  
  <p>But there's problem because CI's pagination works with navigation only if there is number of results after the controller's function -> localhost/CI/index.php/controller/function/10 .</p>
  
  <p>Is there any workaround to do navigation with url like this localhost/CI/index.php/controller/function/news/10 ? 
  (I have news, categories and other functions where I would like to show some basic informations about it.)</p>