Forum Moderators: coopster

Message Too Old, No Replies

Adding values in multiple rows

         

gabe8496

5:49 pm on Sep 29, 2005 (gmt 0)

10+ Year Member



How can i add the quantites to display on my cart?

my db table is like this:
item--qty--sub
05abc 5 SM
05abc 10 MD
05abc 10 LG

I can get this info to display on my cart, including the number of items (# of rows based on my select query, in this case is 3) but I need to display the quantity which should be 25. I know its just a matter of adding...but i'm stumped here.

gabe8496

6:01 pm on Sep 29, 2005 (gmt 0)

10+ Year Member



nevermind! just figured it out!

Thanks!