title: codeigniter alternative to Get variables
body: <p>I was looking for a way to pass "GET" variables  in codeigniter and ended up coming across this : 
  <a href="https://stackoverflow.com/questions/334708/how-to-allow-codeigniter-get-parameters">link text</a></p>
  
  <p>I am wondering how to implement it. </p>
  
  <p>For example :</p>
  
  <p>www.website.com/query would give me every entry in the DB . </p>
  
  <p>Typically I would have</p>
  
  <p>www.website.com/query/?id=5 to get the equivalent entry.</p>
  
  <p>when i try to do that the CI way : </p>
  
  <p>www.website.com/query/id/5 </p>
  
  <p>I get a 404 error since it is looking for a class named id and it can't find it.</p>
  
  <p>is there any way to get a step by step way to do this?</p>
  
  <p>thank you.</p>