php program to print sum of two numbers

 <html>

<body>

<?php

$a=10;

$b=20;

$c = $a+$b;

echo "Total is ".$c;

?>

</body>

</html>

Output

Total is 30

Comments