> 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 element in the array with key '2000'

-Peter



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to