RE: [PHP-DB] RE: adding in arrays

2002-12-10 Thread Ford, Mike [LSS]
> -Original Message- > From: Martin Allan Jensen [mailto:[EMAIL PROTECTED]] > Sent: 10 December 2002 12:41 > > But, now i need to make another loop where it takes the key > [2000] and put's it into $year and takes the value 300 and > put it into $value > Can you help me with it, am reall

[PHP-DB] Re: adding in arrays

2002-12-10 Thread Seraphim
> But, now i need to make another loop where it takes the key [2000] > 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. you can assign the variables like this: $year = '2000' $value = array['2000'] //gets the ele

[PHP-DB] RE: adding in arrays

2002-12-10 Thread Martin Allan Jensen
IT WORKS!!! Really GJ...! But, now i need to make another loop where it takes the key [2000] 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 ( [2000] => 300 [2002] => 740 [2003] => 200 [2004] => 150 [2005] =