join php function code example Example: php array join $arr = array('Hello','World!','Beautiful','Day!'); echo join(", ",$arr);