Re: errormessage: undefined variables - why define them?

From: Date: Sun, 30 Jun 2002 20:39:58 +0000
Subject: Re: errormessage: undefined variables - why define them?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-14480@lists.php.net to get a copy of this message
if you just say $some_var = "this" that defines the variable. but if you had something like if ($some_var == "that") without setting $some_var to something beforehand you would probably get an error. "Uwe Birkenhain" <uwe.birkenhain@berlin.de> wrote in message news:20020630180524.29243.qmail@pb1.pair.com... > Hi everybody, > I have PHP 4.21 since today running on my win98-PC (YEAH!) > > Now I try the programs which I usually use on a webserver - > they work basically, but I get a lot of errormessages like "Undefined > variable: mod in ....." > > Two questions: > - is it now neccessary to define variables before I use them??? Or is it a > windows-problem? Or what? > - some of the undefined variables are defined, but in an include-file - why > might this be a problem? > > Thank's a lot for any help, > Uwe > >

« previous php.windows (#14480) next »