Well, here's example:
ID=1 Name=Apples Stored=32
ID=2 Name=Bananas Stored=16
ID=3 Name=Oranges Stored=132
How can I count all Stored amount together? So the Stored amount should be 180
I've tryed this:
$showcount = mysql_query("SELECT Stored FROM fruits");
while($count = mysql_fetch_row($showcount)) {
$counted = $count[0] + $count[0]
echo $counted;
}
But no luck.. :/
Can someone help me whit this please..
Thanks for all!
