how to implode if it is an array in php code example
Example: php implode array
$values = array_map('array_pop', $array);
$imploded = implode(',', $values);
$values = array_map('array_pop', $array);
$imploded = implode(',', $values);