Re: Global variables, $_GET problem
| From: | Andrey Hristov | Date: | Wed, 24 Jul 2002 07:23:19 +0000 |
| Subject: | Re: Global variables, $_GET problem | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20738@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Jason Wong" <phplist@gremlins.com.hk>
To: <php-db@lists.php.net>
Sent: Wednesday, July 24, 2002 6:45 AM
Subject: Re: [PHP-DB] Global variables, $_GET problem
> On Wednesday 24 July 2002 11:38, Ruth Zhai wrote:
>
> > We just upgraded our PHP to version 4.2.1. I realized that $var is no
> > longer available from www.url.com/myphp.php?var=3 . As instructed in
the
> > document, we have tried two things:
>
> Good, someone who reads the docs :)
>
> > 1. I tried to use $_GET('var'), however, I got "Fatal error: Call to
> > undefined function: array() in /home/httpd/... " message. I have no
clue
> > what this means, and what I have done wrong.
>
> It should be $GET['var'].
It should be $_GET['var']