Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How to sum 2 numbers in php.

<?php
  $i = 1;
  $j = 2;
 $a = $i + $j;
echo "The sum of i and j will be" . $a;
?>
 
PREVIOUS NEXT
Tagged: #How #sum #numbers
ADD COMMENT
Topic
Name
1+1 =