{$_POST['number1']} {$_POST['operation']} {$_POST['number2']} equals {$total}"; } else { // Print error message to the browser echo 'Numeric values are required'; } } // end PHP. ?>