Link to home
Start Free TrialLog in
Avatar of skylabel
skylabel

asked on

GET Query String

Hi,
I don't get what I've done wrong here...I'm trying to pass a variable from send.html to receive.php using query strings. Here;s my code

//send.html
<a href="http://www.mydomain.com/receive.php?email='abc@abc.com'">Click here to send</a>

//receive.php
<?
$email=$GET['email'];
echo "HI ".$email;
?>
Why is $email not being displayed?
SOLUTION
Avatar of Roonaan
Roonaan
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
1 line and SO many errors! Doesn't bode well does it!

My crappy weekend is spilling out onto the net! Oh joy!