At 21:57 14/05/2002 +0200, Luc Saint-Elie wrote:
> > 4.1 => isset() returns false if the variable is not set OR if the
> variable is empty
typo.. wanted to say :
> 4.1 isset() returns true if the variable is set ORT if the variable is empty
Luc
--
PHP General Mailing List (http://www.php.n
At 12:49 14/05/2002 -0600, Matthew Walker wrote:
>I prefer to use isset(), not empty(). It's more accurate, in that it
>knows the difference between a variable that just isn't set, and one
>that has an empty value (which may be valid).
hello,
You may want to do some tests.
last time i did that
ilip Olson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 12:04 PM
To: The Gabster
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] help with undefined variables, please
> PHP Notice: Undefined variable: action in
> C:\Apache\htdocs\easyletter2\easyletter.php on line 73
>
> Why do I get
> PHP Notice: Undefined variable: action in
> C:\Apache\htdocs\easyletter2\easyletter.php on line 73
>
> Why do I get an undefined variable error for $action, $pw, $disp,
> $found when they do not have to be declared in the script?
> if ($action=="sign"){
At this point, $action was not set.
thanks a lot
gabi
"Jerome Houston" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi-
>
> it is not REQUIRED for variables to be initialized in PHP, but if your
error
> reporting is on too high, it will tell you, just to make sure you know.
to
> turn
hi-
it is not REQUIRED for variables to be initialized in PHP, but if your error
reporting is on too high, it will tell you, just to make sure you know. to
turn your error reporting to a different level, you can change your php.ini:
http://www.php.net/manual/en/configuration.php#ini.error-rep
6 matches
Mail list logo