tablica implodowa PHP
$values = array_map('array_pop', $array);
$imploded = implode(',', $values);
Mobile Star
$values = array_map('array_pop', $array);
$imploded = implode(',', $values);
$users = [
'user1' => '[email protected]',
'user2' => '[email protected]'
];
echo implode(', ',$users);
// "[email protected], [email protected]"