Re: [PHP] array max min

2001-02-05 Thread rui
On 05-Feb-2001 Steve Werby wrote: > <[EMAIL PROTECTED]> wrote: >> i thought about that, but i gave up on my first attempt on doing so, > because >> mysql complained about my query, it seems that it doesn't allow to use the >> max() function with a sum() function, an example of the query is: >> >>

Re: [PHP] array max min

2001-02-05 Thread Steve Werby
<[EMAIL PROTECTED]> wrote: > i thought about that, but i gave up on my first attempt on doing so, because > mysql complained about my query, it seems that it doesn't allow to use the > max() function with a sum() function, an example of the query is: > > SELECT month, >daynr, >hour

Re: [PHP] array max min

2001-02-05 Thread rui
On 05-Feb-2001 Steve Werby wrote: > <[EMAIL PROTECTED]> wrote: >> suppose i have a multidimensional array ex: >> >> row[monthnr][daynr][hour][numberofusers] >> row[monthnr][daynr][hour][numberofmails] >> row[monthnr][daynr][hour][numberofdownloads] >> >> th

Re: [PHP] array max min

2001-02-05 Thread Steve Werby
<[EMAIL PROTECTED]> wrote: > suppose i have a multidimensional array ex: > > row[monthnr][daynr][hour][numberofusers] > row[monthnr][daynr][hour][numberofmails] > row[monthnr][daynr][hour][numberofdownloads] > > the values in the array are a sql result query