Answers for "php implode function arguments"

PHP
6

php implode

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

php implode in html tags

$value = "<span>".implode('</span>,<span>', $values)."</span>";
Posted by: Guest on July-16-2020

Browse Popular Code Answers by Language