RE: URL variables
| From: | Tim Ward | Date: | Thu, 25 Oct 2001 09:36:35 +0000 |
| Subject: | RE: URL variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-72231@lists.php.net to get a copy of this message | ||
They're just there ...
If the link is <a href='yourpage.php?yourvar=fred'>
Then in yourpage.php ...
echo($yourvar);
the only way you may go wrong with this is with scoping, $yourvar isn't
available in a function inside yourpage.php.
Tim Ward
----------
From: Clint Tredway [SMTP:clint@factorxsoftware.com]
Sent: 24 October 2001 20:13
To: PHP General
Subject: URL variables
How do I reference URL variables..?