PHP Calculator not working as expected -
i have created php calculator when try divide 2 numbers multiplies them link code= http://pastebin.com/raw.php?i=9qtmjmqy <?php ?> <html> <body> <?php if(isset($_get['page'])){ $page = $_get['page']; } else{ $page = ''; } class calc{ var $number1; var $number2; function add($number1,$number2) { $result = $number1 + $number2; echo("the sum of $number1 , $number2 $result<br><br>"); echo("$number1 + $number2 = $result"); exit; } function subtract($number1,$number2) { $result = $number1 - $number2; echo("$number1 subtract $number2 $result<br><br>"); echo("$number1 - $number2 = $result"); exit; } function multiply($number1,$number2) { $result = $number1 * $number2; echo(...