To perform arithmetic operations PHP has operators that performs the task. Operators Addition Operator As the name says, arithmetic operator performs arithmetic operation. The symbol of addition operator is + Example <?php $num1=10; $num2=20; echo $num1+$num2; ?> Output:30 Subtraction Operator Subtraction Operator performs subtraction operation. The symbol of subtraction operator is – Example <?php $num1=20; $num2=10; echo $num1-$num2; ?> Output: 10 […]