Re: [PHP] Arrays and MySQL

2003-03-02 Thread Beauford.2002
s it would be appreciated. >From below - $totals[0][4] through $totals[19][4] , $totals[0][5] through $totals[19][5], etc. - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 02, 2003 4:53 PM Subject: Re: [PHP] Arrays

Re: [PHP] Arrays and MySQL

2003-03-02 Thread Leo Spalteholz
On March 2, 2003 01:53 pm, Jason Wong wrote: > On Sunday 02 March 2003 23:34, Beauford.2002 wrote: > > Hi, > > > > I have an array which I am trying to total but having some > > problems. Any help is appreciated. > > > > Example: This is a hockey team and there are 20 players - I am > > selecting

Re: [PHP] Arrays and MySQL

2003-03-02 Thread Jason Wong
On Sunday 02 March 2003 23:34, Beauford.2002 wrote: > Hi, > > I have an array which I am trying to total but having some problems. Any > help is appreciated. > > Example: This is a hockey team and there are 20 players - I am selecting > the goals, assists, and points from each player and then want

Re: [PHP] Arrays and MySQL

2003-03-02 Thread Beauford.2002
Kilimajer" <[EMAIL PROTECTED]> To: "Beauford.2002" <[EMAIL PROTECTED]> Cc: "PHP General" <[EMAIL PROTECTED]> Sent: Sunday, March 02, 2003 11:10 AM Subject: Re: [PHP] Arrays and MySQL > Cannot you just make MaSQL count it? > > $que

Re: [PHP] Arrays and MySQL

2003-03-02 Thread Marek Kilimajer
Cannot you just make MaSQL count it? $query = "select sum(goals), sum(assists), sum(points) from roster"; Beauford.2002 wrote: Hi, I have an array which I am trying to total but having some problems. Any help is appreciated. Example: This is a hockey team and there are 20 players - I am sele