The following sql will not return the sum of quantity for the item column. My table looks like this....
item quantity
printer 2
printer 3
copier 2
copier 3
All I'm trying to do is group the item column and sum the quantities for each individual item. Below is what I came up with and it does group the items but it does not return a value for the total quantities.
$equiplist="SELECT item, sum(quantity) FROM shiplist GROUP BY item";