Nov
05
This is subtraction program, this will perform subtraction operation using 2 (Two) numbers. <?php $a = 10; $b = 20; $c = $b – $a; echo “Answer: “.$c; ?>
PHP Category contains Core PHP programs
This is subtraction program, this will perform subtraction operation using 2 (Two) numbers. <?php $a = 10; $b = 20; $c = $b – $a; echo “Answer: “.$c; ?>
Program for adding two numbers in php. This program will add two numbers using PHP. <?php $a = 10; $b = 20; $c = $a + $b; echo “Sum of two number is: “.$c; ?>
This is first program in PHP, This program will print “Hello World!” on browser. <?php echo “Hello World!”; ?>