concatenate string and array php with dot code example
Example 1: php concat
$a = "hello";
$b = "world";
$c = $a . " " . $b;
echo $c; // hello world
Example 2: join string php
<?php
$arr = array('Hello','World!','Beautiful','Day!');
echo join(" ",$arr);
?>