Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php implode associative array

$users = [
	'user1' => 'user1@example.com',
	'user2' => 'user2@example.com'
];

echo implode(', ',$users);
// "user1@example.com, user2@example.com"
Source by www.parthpatel.net #
 
PREVIOUS NEXT
Tagged: #php #implode #associative #array
ADD COMMENT
Topic
Name
4+9 =