Jump to content

Running balance / checkbook


phppup

Recommended Posts

 

How can I calculate a running balance using PHP?

I have a table that will record both sales and credits and would like to display a cumulative balance. It seems redundant to have to revisit every individual transaction and recalculate the current balance each time it is required.

How can I set up an additional column named "balance" and use it as a reference point against the newest entry for the specific customer?

What is the best method of achieving a checkbook-style method?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.