Mega Code Archive

 
Categories / Php / Data Type
 

Subtract the two 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>Subtracted \$b from \$a and got $c</P>"; ?>