Nightfire
10-17-2002, 10:42 PM
I'm terrible at maths and I've got no idea how to make this add up right. There's 3 amounts I want showing, Total paid, Next payment, and Total.
Next payment is the Total divided by 3, which I have as
$nextamount = $row3[estimate]/3;
$nextamount being the next payment total and estimate being the Total. Now after they have made a small payment (less than $nextamount should be, I want it to add the remaining cash owed to $nextamount.
So basically, I need to somehow figure out how to add the amount they owe onto the nextpayment. Without making the rest of the payments out of count.
Next payment is the Total divided by 3, which I have as
$nextamount = $row3[estimate]/3;
$nextamount being the next payment total and estimate being the Total. Now after they have made a small payment (less than $nextamount should be, I want it to add the remaining cash owed to $nextamount.
So basically, I need to somehow figure out how to add the amount they owe onto the nextpayment. Without making the rest of the payments out of count.