concantenate in php code example
Example 1: php concat
$a = "hello";
$b = "world";
$c = $a . " " . $b;
echo $c; // hello world
Example 2: how to add two string in php
Remember dot .
$a = "hello";
$b = "world";
$c = $a . " " . $b;
echo $c; // hello world
Remember dot .