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:
if(isset($GET['email'])){
$email = $_GET['email'];
}
The url looks something like this www.sumwebsite.com?email=aemail@email.com
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.