title: A problem with pagination codeigniter (page 2 not showing)
body: <p>im getting stuck when i show data from database with pagination codeigniter, the first page is show correctly, but when i click page 2, the number of page is selected but its still show the data of page 1, so do with next page. Here is my code</p>
  
  <pre><code>$id = $this-&gt;uri-&gt;segment(3);
  $perpage = 5;
  $this-&gt;load-&gt;library('pagination');
  $config['base_url'] = base_url().'index.php/contname/method/'.$id;
  $config['total_rows'] = $this-&gt;feedbackmodel-&gt;count_itemscat($id);
  $config['per_page'] = $perpage;
  $config['uri_segment'] = 4;
  $this-&gt;pagination-&gt;initialize($config);
  </code></pre>
  
  <p>Anyone help me please
  Thanks in advance!</p>