Passing information via a url
| From: | Adam Dear | Date: | Tue, 30 Sep 2003 23:15:27 +0000 |
| Subject: | Passing information via a url | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11981@lists.php.net to get a copy of this message | ||
I have just started using php. I am trying to pass a parameter from one
page to another via a url ie:
www.mysite.com/myphp.php?param=string
I am then checking the variable in the requested program, however, it isn't
working. I try to evaluate its value in a if statement ie:
if($param == "string")
{
do something;
}
Is there something I need to configure in php to be able to accept a
variable passed via a url?
By the way, I'm new to php, so please be specific with answers.
Thanks
Adam