View Single Post
06-18-2007, 01:28 PM
#3
DJAC is offline DJAC
DJAC's Avatar
Status: Member
Join date: Mar 2006
Location: Canada
Expertise:
Software:
 
Posts: 286
iTrader: 0 / 0%
 

DJAC is on a distinguished road

Send a message via MSN to DJAC

  Old

Assuming you are reading your values "0 1 1 0 1" from a database, you can create a new variable, let's say mySum. Every time you read a value from your database, output it to your table AND add it to mySum.

After reading all your values, you can simply output mySum.