php multiply two number and echo result code example Example: php multiplication $product = $num1 * $num2;