PHP Array Join
$arr = array('Hello','World!','Beautiful','Day!');
echo join(", ",$arr);
Thoughtless Tern
$arr = array('Hello','World!','Beautiful','Day!');
echo join(", ",$arr);
$arr = array('Hello','World!','Beautiful','Day!');
echo join(",",$arr);
<?php
// implode ( string $separator , array $array )
$res = implode ( ",", $array );
?>