string concate in php code example
Example 1: php concat
$a = "hello";
$b = "world";
$c = $a . " " . $b;
echo $c; // hello world
Example 2: add more data to variable php
$a = "Hello ";
$a .= "World!";
$a = "hello";
$b = "world";
$c = $a . " " . $b;
echo $c; // hello world
$a = "Hello ";
$a .= "World!";