title: Getting URL ID and session it
body: <p>This seems like a common questions but none of them seem to be what i'm looking for. If there is a website:</p>
  
  <pre><code>xxxx.com/display1.php?id=members
  </code></pre>
  
  <p>I want to pull the <code>members</code> and if it's something like:</p>
  
  <pre><code>xxxx.com/display1.php?id=users
  </code></pre>
  
  <p>I want again to just pull <code>users</code> but everything seems to pull the exact path instead of just the page. Any suggestions?</p>
  
  <p>I would then like to put the selected ID in a session.</p>