1 May 2007 at 13:07 #1 zetec452 zetec452 Soldato Joined 15 Sep 2003 Posts 9,454 Hey, I'm struggling to find the function or SQL command that will add up values (prices) in Php and MySQL. I've be grateful if some kind sould could point me in the right direction. Cheers, Jon
Hey, I'm struggling to find the function or SQL command that will add up values (prices) in Php and MySQL. I've be grateful if some kind sould could point me in the right direction. Cheers, Jon
1 May 2007 at 13:09 #2 SoapSurgeon SoapSurgeon Associate Joined 14 Apr 2003 Posts 1,101 SUM ? look here
1 May 2007 at 13:10 #3 zetec452 zetec452 Soldato OP Joined 15 Sep 2003 Posts 9,454 I tried SUM earlier but can't have been using it correctly. Time for a cup of tea and brain transplant .
I tried SUM earlier but can't have been using it correctly. Time for a cup of tea and brain transplant .
1 May 2007 at 13:13 #4 zetec452 zetec452 Soldato OP Joined 15 Sep 2003 Posts 9,454 Yep, I was using the query incorrectly. http://groups.google.co.uk/group/co...=st&q=mysql+sum&rnum=3&hl=en#0253707cc5c470c7 has a decent explination .
Yep, I was using the query incorrectly. http://groups.google.co.uk/group/co...=st&q=mysql+sum&rnum=3&hl=en#0253707cc5c470c7 has a decent explination .