"Bastian Vogt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I'ld suggest this:
>
> // inside your loop
> $array[$year] += $value;
>
> HTH,
> Bastian
>
Lets say $year is 2000
There is not defined index 2000 at $array.
It is going to be undefined offset.



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

Reply via email to