List:General Discussion« Previous MessageNext Message »
From:Brian E Boothe Date:April 25 2006 4:07pm
Subject:Individual Row Addition ((!!!help!!)
View as plain text  
well i have this 
       $sql2="SELECT ordernumber,Elecrem, CtrlProjrem, OthrProjrem 
SUM(Elecrem+CtrlProjrem+OthrProjrem) AS btstotal9 FROM orders GROUP BY 
ordernumber ORDER BY ordernumber";
      only add's up the first row it hits and adds it to the remaining 
rows ,,

    I need individual Row Addition!!!!
       Please helppp 
 
    Ordernumber        Elecrem,   CtrlProjrem,    OthrProjrem    

        12311314            234             123                
123              =  <? row ?> =  480
        12354314            100             123                
123              =  <? row ?> =  346


Thread
Individual Row Addition ((!!!help!!)Brian E Boothe25 Apr
  • Re: Individual Row Addition ((!!!help!!)Barry25 Apr