How to create Monthly Mortgage Payment Calculator (simple loan system) in PHP


Dear All,

I would like to share with all of you about how to create monthly mortgage paymet calculator that is very import with developer want to create Loan system,

It is the concept PHP and formular, if you don't understand can comment.

You can enjoy with it via download source code by click like Download or you can check code below.

indx.php






   Mortgage Payment Calculator | youlay
   


    
Mortgage Payment Calculator
 
Loan balance: $
Interest rate: %
Loan term: Month

RESULT:
 
"; echo ""; ?>
Monthly payment: $".$pay1."
Total interest: $".(($term*$pay*$period)-$balance)."

"; echo ""; echo ""; for ($i=0;$i<($term*$period);$i++){ $tmp = (($pay) - ($balance*($rate/100/$period))); $diff = round($tmp,2); $int = round(($balance*$rate/100/$period),2); $princ = $balance - $diff; $princ1 = $int + $pay1; $balance = round($balance,3); if($balance < $pay1){ $princ1 = $balance + $pay1; $balance = 0; } echo ""; $test = $balance = $princ; } echo "
MonthPrincipleInterestPrinciple monthly paymentTotal Monthly Payment
$i. month $".$balance." $".$int." $".$pay1."".$princ1."
"; ?>
Share on Google Plus

About Unknown

    Blogger Comment
    Facebook Comment

5 comments:

  1. Read your blog its really informative and helpful keep updating with newer post on Loan against property

    ReplyDelete
  2. I am so grateful to you. I really needed this type of helpful. Recently I took a church loan from a bank. Now It will be easy for me for calculating the church mortgage.

    ReplyDelete
  3. Thanks a lot for the information. I at least now don't need to visit broker for church mortgage in USA. I will follow your instructions well.

    ReplyDelete
  4. Thanks for sharing such worthy content, this information is useful for knowledge seekers. Waiting for a more upcoming post like this.
    Importance of Graphic Design
    Digital Marketing Designs

    ReplyDelete
  5. Thanks for this blog keep sharing your thoughts like this...
    What Is Power Bi
    How Power Bi Works

    ReplyDelete