title: Get URL query string parameters
body: <p>What is the "less code needed" way to get parameters from a URL query string which is formatted like the following?</p>
  
  <blockquote>
    <p>www.mysite.com/category/subcategory?myqueryhash</p>
  </blockquote>
  
  <p>Output should be: <code>myqueryhash</code></p>
  
  <p>I am aware of this approach:</p>
  
  <pre><code>www.mysite.com/category/subcategory?q=myquery
  
  &lt;?php
     echo $_GET['q'];  //Output: myquery
  ?&gt;
  </code></pre>