View Single Post
Old 12-17-2006, 08:01 PM   #2 (permalink)
littleFella
Inactive
 
littleFella's Avatar
 
Join Date: 06-20-04
Location: Ontario
Posts: 3,359
iTrader: 0 / 0%
Latest Blog:
None

littleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to beholdlittleFella is a splendid one to behold
It might be a bit silly to do that in PHP, although there may be circumstances under which you'd opt for PHP rather than for SQL.
Why don't you try SQL first:

SELECT SUM(FieldName) FROM TableName
littleFella is offline   Reply With Quote