From: [EMAIL PROTECTED]
Operating system: W2K
PHP version: 4.0.4pl1
PHP Bug Type: Variables related
Bug description: undefined variable
Warning: Undefined variable: currYear in c:\inetpub\wwwroot\calendar\month.view.php on
line 29
this is the code that is causing this
if(!$currYear) { $currYear = date("Y"); }
I found some examples that have $variable++ but the variable is not predefined, and
some other examples like
if (!$submit) {} also give warnings "undefined variable"...
On a couple of forums I've found the same problem, but no solution..is it a
configuration problem or a bug???? People that wrote those examples did not seem to
have those problems.
thanks for help
--
Edit Bug report at: http://bugs.php.net/?id=9679&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]