But, now i need to make another loop where it takes the key  and put's it into
$year and takes the value 300 and put it into $value
Can you help me with it, am really not good at arrays.....
Array (  => 300  => 740  => 200  => 150  => 250 )
----- Original Message -----
From: "Radovan Radic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 1:19 PM
Subject: [PHP-DB] Re: adding in array
> "Bastian Vogt" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > 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 :(
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php