Math operations with PHP
Your Sub Total is:
' . $_POST['sub_tot'] . '
$msg .= "\nSub Total: $" . $_POST['sub_tot'] . "\n";
How can I tune this code to make more calculations?
Say, if ' . $_POST['sub_tot'] . ' is bigger than 200,
subtract 10% from it, and print the result.
If it is bigger than 300 deduct 15% and print the result.
Thanks in advance.