I have a query that counts the price of all items between two dates. Here is the select statement:
SELECT SUM(Price) AS TotalPrice FROM Inventory WHERE (DateAdd
The easiest way to do this is just to add zero to your result.
i.e.
$A=($row['SUM'Price']+0); echo $A;
hope this helps!!