php implode associative array to string code example
Example: php implode associative array
$users = [
'user1' => '[email protected]',
'user2' => '[email protected]'
];
echo implode(', ',$users);
// "[email protected], [email protected]"
$users = [
'user1' => '[email protected]',
'user2' => '[email protected]'
];
echo implode(', ',$users);
// "[email protected], [email protected]"