find interest using php
simple interest using php
PREVIOUS NEXT
<?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
Post a Comment
Thanks for your comment