View Single Post
  #4 (permalink)  
Old November 3rd, 2003, 07:28 PM
wadesmart wadesmart is offline
Authorized User
 
Join Date: Oct 2003
Location: , Ok, .
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok. will this work.

while ($_POST["loan"] > 0 )
        {
            $Duration = $Duration + 1 ;
            $Monthly = $_POST["month"] - ($_POST["loan"] * $Interest / 100 ) ;
            if ($Monthly <= 0)
            {
                echo "You need larger monthly payments to pay off your loan." ;
            }
        $_POST["loan"] = $_POST["loan"] + $Monthly;
        }



Reply With Quote