I'm new to PHP and just analyzing the syntax..
How do I display "1text" here?
$a = 1;
$b = 'text';
$c = $a + $b;
echo $c;
I'm new to PHP and just analyzing the syntax..
How do I display "1text" here?
$a = 1;
$b = 'text';
$c = $a + $b;
echo $c;
In PHP .
is the concatenation operator for strings:
$a = 1;
$b = 'text';
$c = $a . $b;
echo $c;