Hi,
I'm trying to create a form in php that helps calculate the distribution of payments to different places example..
Input box to say how much money I start off with (in this example it will be $200.00)
Input box for the total amount of money i want to add to category GAS... I will enter $100.00.
(After that I want the form to automatically process the left overs to my next category)
So for instance it will say
GAS = 100.00
Food = 100.00
Games = 0
But now i want to enter food to be 50.00 so it should automatically set Food to
Gas = 100.00
Food = 50.00
Games = 50.00
Total = 200.00 but it is distributed to its own category...
Hopefully i explained myself ok .....If you have questions please ask I will try to explain myself a little better. =D
Thanks