On Thu, Jul 5, 2012 at 6:54 PM, RGraph.net support wrote:
> Hi,
>
>> that the code should be fixed.
>
> Or the error reporting turned down... :-)
And one day, you decide to write
define('QUERY_STRING', "Oh I was so stupid that day");
and since you turned down your error reporting, you will have
Hi,
> that the code should be fixed.
Or the error reporting turned down... :-)
--
Richard, RGraph.net support
JavaScript charts for your website using RGraph
http://www.rgraph.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Jul 5, 2012 at 3:10 AM, Arno Kuhl wrote:
> -Original Message-
> From: Tim Streater [mailto:t...@clothears.org.uk]
> Sent: 04 July 2012 06:56 PM
> To: Marc Guay; php-general@lists.php.net
> Subject: Re: [PHP] Unexpected Notice message
>
> On 04 Jul 2012 at 16
-Original Message-
From: Tim Streater [mailto:t...@clothears.org.uk]
Sent: 04 July 2012 06:56 PM
To: Marc Guay; php-general@lists.php.net
Subject: Re: [PHP] Unexpected Notice message
On 04 Jul 2012 at 16:51, Marc Guay wrote:
>> Notice: Use of undefined constant QUERY_STRING - a
On 04 Jul 2012 at 16:51, Marc Guay 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
--
PHP General Mailing
> 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...?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm a bit baffled by a notice message displayed:
Notice: Use of undefined constant QUERY_STRING - assumed 'QUERY_STRING' in
..
The line in question has
if (strlen($_SERVER[QUERY_STRING]) > 0) {
..
So I set a breakpoint on the line of the notice. The code executes to the
breakpoint, I inspect the
7 matches
Mail list logo