Tuesday, 9 June 2020

concatenation

concatenation
string+string, string+number, string+variable
use dot to concatenate
echo 'the result is :' .$z;
echo $x.' +'. $y.' ='.$z;
150 + 150 = 300
take the require things
$x
$y
$z
operators
+
=
$x .'
+
. $y
.'
=
.
$z







No comments:

Post a Comment