Source Code:
(back to article)
<?php $array = array('apple', 'banana', 'cherry', 'date'); $delimiter = ','; $string = implode($delimiter, $array); echo $string; // Outputs: apple,banana,cherry,date
Result:
Report an issue