calculator with conditions
Posted: Sat Nov 29, 2008 10:49 am
I need to substract from number A number B only if is clicked option(form) near number B. Then result multiple with number C.
But if option (form) near B is not clicked, then multiply only A with C.
Can someone write some tips?
to substract, i use this.....
$calc = ($_POST['numberA']-$_POST['NumberB']);
i need to use if? i have very poor php knowledges
may be any link where i can read?
But if option (form) near B is not clicked, then multiply only A with C.
Can someone write some tips?
to substract, i use this.....
$calc = ($_POST['numberA']-$_POST['NumberB']);
i need to use if? i have very poor php knowledges
may be any link where i can read?