title: how to GET url values after header function?
body: <p>Peace be with you all,
  I have a small problem which is i don't know how to store the values i get from a url using     <code>$_GET</code> method after using <code>header</code> function, here is the code so you can get what i am saying:-</p>
  
  <p>i have index.php that has the link with the values:-</p>
  
  <pre><code>&lt;?php
      echo "&lt;a href='test.php?id=5&amp;s=6'&gt;Click Here&lt;/a&gt; &lt;br&gt;"; 
  ?&gt;
  </code></pre>
  
  <p>Here is test.php which is supposed to get the values from this url:-</p>
  
  <pre><code>&lt;?php
  
      if(isset($_GET['id'])&amp;&amp;isset($_GET['s'])){
          echo $_GET['id'].$_GET['s'];
          header('location:test.php');
      }
  ?&gt;
  </code></pre>
  
  <p>I don't know how to get the values from the url along with using the <code>header</code> function, i get them normally when i don't use the <code>header</code> function what can i do to store the variables to use them after redirecting using the <code>header</code> function? thanks in advance</p>