php join to strings code example
Example 1: php array join
$arr = array('Hello','World!','Beautiful','Day!');
echo join(", ",$arr);
Example 2: php concat
$a = "hello";
$b = "world";
$c = $a . " " . $b;
echo $c; // hello world
$arr = array('Hello','World!','Beautiful','Day!');
echo join(", ",$arr);
$a = "hello";
$b = "world";
$c = $a . " " . $b;
echo $c; // hello world