RE: Unexpected Notice message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: Tim Streater [mailto:tim@xxxxxxxxxxxxxxxx] 
Sent: 04 July 2012 06:56 PM
To: Marc Guay; php-general@xxxxxxxxxxxxx
Subject: Re:  Unexpected Notice message

On 04 Jul 2012 at 16:51, Marc Guay <marc.guay@xxxxxxxxx> wrote: 

>> Notice: Use of undefined constant QUERY_STRING - assumed 'QUERY_STRING' in
>
> I would guess that it's asking you to add quotes around QUERY_STRING...?

As in:
if (strlen($_SERVER['QUERY_STRING']) > 0) {


Cheers  --  Tim
----

Excellent, a bit surprised but that was it, thanks a lot.

Cheers
Arno


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux