Re: How do I write a compound variable?

From: Date: Tue, 07 Aug 2001 06:55:10 +0000
Subject: Re: How do I write a compound variable?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-61555@lists.php.net to get a copy of this message
On Tuesday 07 August 2001 01:50, Hugh Danaher wrote: > I want to do a simple FOR statement where I average the high and low > value for a given year. A user will input the values on a separate > What I want to do: > <?php > > $high_1995=22; > $high_1996=23; > $high_1997=20; > $high_1998=18; > $high_1999=20; > $high_2000=21; > $high_2001=23; Use Arrays: $high [1995] = 22; $high [1996] = 23; .. -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) Results 1 - 10 of about 201,000,000. Search took 0.08 seconds - http://www.google.com/search?q=e

« previous php.general (#61555) next »