title: how to get an email address passed in url
body: <p>I have an email address passed as a variable in the url as part of the link. I need to be able to retrieve this email address and then insert it into a database.
  the issue is i cannot seem to be able to retrieve the email address from the url. This is the code Im using to get it:</p>
  
  <pre><code>if(isset($GET['email'])){
   $email = $_GET['email'];
   }
  </code></pre>
  
  <p>The url looks something like this <code>www.sumwebsite.com?email=aemail@email.com</code>
  Any ideas? As far as I have been able to see my code is right, so I am at a complete loss as to why it is not working.</p>