Passing parameters to a PHP file.
| From: | Victor Espina | Date: | Wed, 12 Sep 2001 22:31:49 +0000 |
| Subject: | Passing parameters to a PHP file. | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12387@lists.php.net to get a copy of this message | ||
I want to call a PHP file with some parameters. I tried this sintax:
HREF=MyPage.PHP?Var1=Value1
But i don't seem to be receiving any value for Var1. I tested it with:
print "Var1: $Var1";
and the output is "Var1:"
What i'm missing here?
--
==============================
Victor Espina
Caracas, Venezuela
http://mitrompo.com/vespina
vespina@nospam.mitrompo.com
(Quite el 'nospam' para responder)
(Remove 'nospam' to reply)