> 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php