RE: [PHP] help with undefined variables, please

2002-05-14 Thread Luc Saint-Elie
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

RE: [PHP] help with undefined variables, please

2002-05-14 Thread Luc Saint-Elie
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

RE: [PHP] help with undefined variables, please

2002-05-14 Thread Matthew Walker
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

Re: [PHP] help with undefined variables, please

2002-05-14 Thread Philip Olson
> 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.

Re: [PHP] help with undefined variables, please

2002-05-14 Thread The Gabster
p > > hope this helps, > > jerome > > >From: "The Gabster" <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: [PHP] help with undefined variables, please > >Date: Tue, 14 May 2002 12:21:45 -0500 > > > >Hello all! > > >

Re: [PHP] help with undefined variables, please

2002-05-14 Thread Jerome Houston
-reporting or just change it for this script http://www.php.net/manual/en/function.error-reporting.php hope this helps, jerome >From: "The Gabster" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [PHP] help with undefined variables, please >Date: Tue, 14 May 2002

[PHP] help with undefined variables, please

2002-05-14 Thread The Gabster
Hello all! I have a newsletter script that works fine but I receive some undefined variables errors in Apache's error log: PHP Notice: Undefined variable: action in C:\Apache\htdocs\easyletter2\easyletter.php on line 73 PHP Notice: Undefined variable: action in C:\Apache\htdocs\easyletter2\e