join strings in php code example
Example 1: join array of strings php
$arr = array('Hello','World!','Beautiful','Day!');
echo join(",",$arr);
Example 2: join string php
<?php
$arr = array('Hello','World!','Beautiful','Day!');
echo join(" ",$arr);
?>