title: PHP Header Location with parameter
body: <p>Is it possible to append a parameter to a PHP Header Location? I'm having trouble getting it to work. Is this syntax actually allowed?</p>
  
  <pre><code>$qry = $_SERVER['QUERY_STRING'];
  header('Location: http://localhost/blast/v2/?$qry ') ;
  </code></pre>
  
  <p>it just won't replace $qry wit its actual value....why??</p>
  
  <p>in the browser it ends up looking like this:</p>
  
  <p><a href="http://localhost/blast/v2/" rel="nofollow">http://localhost/blast/v2/</a>?$qry</p>
  
  <p>thanks</p>