Newbie : How work with parameters?
| From: | St�phane G�nin | Date: | Wed, 27 Nov 2002 08:58:20 +0000 |
| Subject: | Newbie : How work with parameters? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-126252@lists.php.net to get a copy of this message | ||
Hello,
I want to read the parameters in the URL, but I can't find the right way to
do that. I've tried several things :
my URL is: http://localhost/test.php?id=abc
I tried to use the $id, but in this case, I have a notice with 'undefined
variable'.
I have the same problem if I try the variable $QUERY_STRING (still undefined
variable).
Do you know what is the best way to read this parameters?
Many thanks
Stéphane