php stacking string query
<p>I am trying to nest if statements based on a query string, but it isnt working</p>

<p>query string</p>

<pre><code>index.php?list&amp;page=1
</code></pre>

<p>php</p>

<pre><code>if ($_SERVER['QUERY_STRING'] == 'list') {
  if ($_GET['page'] == '1') {
    echo 'hi';
  }
}
</code></pre>
