Add the two integer values and print the result. : Integer : Language Basics PHP Source Code


PHP Source Code » Language Basics » Integer »

 

Add the two integer values and print the result.




<?
$a = 85;
$b = 24;
echo "<P>Original value of $a is $a and $b is
$b</P>";

$c = $a + $b;
echo "<P>Added $a and $b and got $c</P>";

?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Language Basics
» Integer