title: keeping url parameters during pagination
body: <p>Is there any way to keep my GET parameters when paginating. </p>
  
  <p>My problem is that I have a few different urls i.e</p>
  
  <pre><code>questions.php?sort=votes&amp;author_id=1&amp;page=3
  
  index.php?sort=answers&amp;style=question&amp;page=4
  </code></pre>
  
  <p>How in my pagination class am I supposed to create a link to the page with a different page number on it but yet still keep the other parts of the url?</p>