PHP TUTORIALS
<? php
$variable1 = 2;
$variable2 = 9;
$variable3 = $varilable1 + $variable2;
echo $variable3;
?>
the above code results in following 11
----------------------------------------------------------------------------------------------
<? php
$variable1 = 2;
$variable2 = 9;
$variable3 = $varilable1 + $variable2;
echo $variable1."+".$variable2."=".$variable3;
?>
Both of the above code examples result in 2+9 = 11
$variable1 = 2;
$variable2 = 9;
$variable3 = $varilable1 + $variable2;
echo $variable3;
?>
the above code results in following 11
----------------------------------------------------------------------------------------------
<? php
$variable1 = 2;
$variable2 = 9;
$variable3 = $varilable1 + $variable2;
echo $variable1."+".$variable2."=".$variable3;
?>
Both of the above code examples result in 2+9 = 11
Comments
Post a Comment