title: php check session data against URL parameter
body: <p>I am new to php and having trouble with the following. I want to check the session user name to see if it matches the url parameter then print some stuff:</p>
  
  <pre><code>&lt;?php
  
    // Check User
      if (isset($_SESSION['user_name'] == $_GET['name'])) {
  
          //print html
  
      }
  ?&gt;
  </code></pre>
  
  <p>i just get a blank page when i test this even when the session name matches the url name.</p>