Dave W wrote:

> Hi, I was just wondering on how I could get a whole column full of
> integers and added them up and display that total? I currently use a for
> loop to display the whole column in a table, but I wanted to add all those
> numbers up.
> 
> Thanks.
> 

You could use the SUM function in your DB to do the work for you.


Cheers
-- 
David Robley

Power corrupts; absolute power is even more fun.
Today is Pungenday, the 62nd day of Confusion in the YOLD 3172. 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to