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