Re: Subject: Notice: Undefined index

From: Date: Thu, 24 Apr 2003 23:48:34 +0000
Subject: Re: Subject: Notice: Undefined index
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-19603@lists.php.net to get a copy of this message
Yes, in the head of your script add the line : error_reporting(E_ALL & ~E_NOTICE); This is just an informational message telling you that the form which was posted did not contain a value for the form field for which you are receiving the message. In fact, in this case, PHP did not receive a form (GET) variable at all, which is how forms work - they only post values which *are* filled in by the user (probably you !) You can safely ignore it if your form element is not required. Cheers Neil Smith At 19:46 24/04/2003 +0000, you wrote:
Message-ID: <20030424180635.5262.qmail@pb1.pair.com> To: php-windows@lists.php.net Reply-To: "Joaco" <joaco182@hotmail.com> From: "Joaco" <joaco182@hotmail.com> Date: Thu, 24 Apr 2003 11:04:57 -0700 Subject: Notice: Undefined index MIME-Version: 1.0 Can anyone tell me how to fix this error when trying to run a $_GET. Is there something I have forgotten to register?


« previous php.windows (#19603) next »