Re: PHP saying I have an undefined variable?
- From: "ECRIA Public Mail Buffer" <ngsremovemail@xxxxxxxxx>
- Date: Sun, 19 Jun 2005 14:29:08 -0400
Note that this is not an error but a notice - there's a difference. Errors
will stop execution of your script, while warnings and notices are there to
inform you of possible faulty code. Depending on your error_reporting
setting in php.ini, you may or may not see warnings and notices. Your script
has an undefined variable on your server but your server is just not telling
you, because error_reporting is set to off or warn (not all).
It is likely that you are using $end_while in a conditional statement before
you have defined it, leading to the notice. You should set it to a default
value at the beginning of your script, or before you use it.
ECRIA
http://www.ecria.com
.
- Follow-Ups:
- Re: PHP saying I have an undefined variable?
- From: FrobinRobin
- Re: PHP saying I have an undefined variable?
- References:
- PHP saying I have an undefined variable?
- From: bissatch
- PHP saying I have an undefined variable?
- Prev by Date: Re: PHP saying I have an undefined variable?
- Next by Date: Re: links pointing on PHP manual not shown in error messages
- Previous by thread: Re: PHP saying I have an undefined variable?
- Next by thread: Re: PHP saying I have an undefined variable?
- Index(es):
Relevant Pages
|