title: How to get the value uri segment in CodeIgniter
body: <p>I do not understand about <code>uri-&gt;segment</code> on CodeIgniter.
  as the following example, I have a table with the fields:</p>
  
  <pre><code>| Id_comment | id_alat     | user         |
  |:-----------|------------:|:------------:|
  |     1      |    45       | irwan        |     
  </code></pre>
  
  <p>if i call <code>$id = $this-&gt;uri-&gt;segment(4);</code>
  It returns the <code>user</code> field.</p>
  
  <p>How do I return the <code>id_comment</code> field instead?</p>