find interest using php

simple interest using php

<?php
include "calculation2.php";
if(isset($_POST['s1']))
{
 if(isset($_POST['r1']))
  {
    $c=new maths_operation();
    if(($_POST['r1'])=='sum')
    {
       $z=$c->sum($_POST['t1'],$_POST['t2']);
    }
    if(($_POST['r1'])=='sub')
    {
       $z=$c->sub($_POST['t1'],$_POST['t2']);
    }
    if(($_POST['r1'])=='mul')
    {
       $z=$c->mul($_POST['t1'],$_POST['t2']);
    }
    if(($_POST['r1'])=='div')
    {
       $z=$c->div($_POST['t1'],$_POST['t2']);
    }
  }
}
?>

                                        PREVIOUS                             NEXT

Comments

Popular posts from this blog

simple php program upload file in database

Latest random post with thumbnail widget HTML / JAVASCRIPT

new style blogging method for every blogger 2020 how to make new style blog and earn money