Answers for "php convert into array string with commas"

PHP
6

array to string separated by comma php

$arr = array ( 0 => "lorem", 1 => "ipsum", 2 => "dolor");

$str = implode (", ", $arr);
Posted by: Guest on September-22-2020

Code answers related to "php convert into array string with commas"

Browse Popular Code Answers by Language