|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-17 17:57 UTC] Bas at Synthetical dot com
[2002-07-17 18:03 UTC] cynic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 08:00:02 2025 UTC |
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