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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
My crappy weekend is spilling out onto the net! Oh joy!