Adding values of a table from one colum

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nite4000
Forum Contributor
Posts: 209
Joined: Sun Apr 12, 2009 11:31 am

Adding values of a table from one colum

Post by nite4000 »

Hey I need to know how to add values from a table.

I have a field called AccBal and I have more then 1 records I want to take the value of AccBal of each record and add them together and then get a total

Can someone tell me how to do this.?


Thanks
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Adding values of a table from one colum

Post by califdon »

nite4000
Forum Contributor
Posts: 209
Joined: Sun Apr 12, 2009 11:31 am

Re: Adding values of a table from one colum

Post by nite4000 »

will do thanks
Post Reply