Re: Cannot pass variables
| From: | Awlad Hussain | Date: | Tue, 15 Apr 2003 12:12:41 +0000 |
| Subject: | Re: Cannot pass variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143924@lists.php.net to get a copy of this message | ||
try echo $_GET['name'];
-awlad
----- Original Message -----
From: "P Lok" <patricklok@msn.com>
To: <php-general@lists.php.net>
Sent: Tuesday, April 15, 2003 1:02 PM
Subject: [PHP] Cannot pass variables
> Hi,
> I am using apache 2.0.45 and php 4.3.1 for windows.
>
> Anybody can tell me what has gone wrong with my statement?
> Is there something has to be setup in php.ini?
> I use http://mycomputer/login.php?name=user1
> My login.php cannot receive variable 'name' !
>
> login.php:
> <?php
> echo $name;
> ?>
>
> Nothing displayed!
>
> pls help
>
> rgds
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>