Answers for "how to take a array as input using implode function in php"

PHP
6

php implode

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

Code answers related to "how to take a array as input using implode function in php"

Browse Popular Code Answers by Language