sorry my mistake the amount can varie, what happens is they enter the amount, deposit and number of months on the page before and then when they click continue it goes to the page with a total each month which consists of:
$balance = $ontheroad-$deposit;
if ($balance < 5000) {
$interest = "$balance+6.5%-$balance";
$totalinterest = "$interest/12*$repayover";
$totalrepay = "$totalinterest+$balance/$repayover+20%";
totalrepayment = "$totalrepay";
}
else {
$interest = "$balance+7.5%-$balance";
$totalinterest = "$interest/12*$repayover";
$totalrepay = "$totalinterest+$balance/$repayover+20%";
totalrepayment = "$totalrepay";
}
if the balance is less than £5000 theres a different interest rate.
sorry about the confusion, my mistake, thanks Martin