Re: adding in arrays

From: Date: Tue, 10 Dec 2002 12:53:12 +0000
Subject: Re: adding in arrays
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-24001@lists.php.net to get a copy of this message
> 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

« previous php.db (#24001) next »