title: Filters in URL using Laravel
body: <p>I am trying to filter results from a database on a page where the user can pick none of more filters.</p>
  
  <p>I have:</p>
  
  <pre><code>...
  $out .= '&lt;a class="filter-link" href="'.$_SERVER['REQUEST_URI'].'&amp;age='.$ageId.'"&gt;';
  ...
  </code></pre>
  
  <p>The problem with this is that obviously it will keep appending the same thing to the query string i.e. </p>
  
  <pre><code>?page=1&amp;&amp;age=3&amp;age=3&amp;age=1&amp;age=6
  </code></pre>
  
  <p>How can I get this to work properly using Laravel?</p>