Jump to content

Adding numbers from database


dannybrazil

Recommended Posts

Hello

I have a table that contains date and amount of money I earned that day.

every day I add on row

 

How can I make a code that will calculate the TOTAL earnings till today...and will continue automatically every day

 

ex:

  Date        Amount

1-1-2010        10$

2-1-2010        20$

 

 

Total income is :30$

 

*and tomorrow it will update alone

Link to comment
https://forums.phpfreaks.com/topic/189467-adding-numbers-from-database/
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.