Answers for "php string join array"

PHP
0

join array of strings php

$arr = array('Hello','World!','Beautiful','Day!');
echo join(",",$arr);
Posted by: Guest on April-05-2020
6

php implode

$colors = array("red","blue","green");
$colorsCSV= "'".implode("','",$colors)."'";
//$colorsCSV: 'red','blue','green'
Posted by: Guest on November-27-2019
1

arry to string php

implode("|",$type);
Posted by: Guest on April-07-2020

Browse Popular Code Answers by Language