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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to