Ok, no worries.

What is happening on the line that is returning the error?

If it's doing something like:

$value = $_GET['retry'];

Then you might want to try something like:

$value = array_key_exists('retry',$_GET)?$_GET['retry']:null;

Which will not return that notice.



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Michael
Sent: Wednesday, 16 September 2009 1:01 p.m.
To: [email protected]
Subject: [phpug] Re: PHP 5.3.0 error


On Wed, 16 Sep 2009 12:56:15 Nathan Kennedy wrote:
> Is '$retry' defined anywhere in the script prior to line x?
>
> It's not an error as such, just a notice. You can either turn off notices
> in php.ini, or define $retry prior to trying to access/assess it.
>
>
> Thanks,
> Nathan.
> http://www.kennedytechnology.com

Sorry, it's $_GET["retry"], not $retry as I incorrectly stated.

I don't want to turn off notices because I need them for debugging / code 
improvement.
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4427 (20090915) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to