Re: adding in array

From: Date: Tue, 10 Dec 2002 12:19:43 +0000
Subject: Re: adding in array
References: 1 2 3 4  Groups: php.db 
Request: Send a blank email to php-db+get-23998@lists.php.net to get a copy of this message
"Bastian Vogt" <bastian.vogt@komtel.net> wrote in message news:3DF5D85F.9D6BB750@komtel.net... > > Lets say $year is 2000 > > There is not defined index 2000 at $array. > > It is going to be undefined offset. > > Hm... I think it's gonna work, but if it's one of the "don'ts" in > progamming style, could you tell me why you shouldn't do this and how to > make it better (and nice)? > > Regards, > Bastian > I would write it if i knew it, but i have problems myself about it :( Radovan

« previous php.db (#23998) next »