- implode: documentation ( source)
<?php
$array = Array (
'one@gmail.com' => Array (
0 => '70,80',
1 => '90,100'
) ,
'two@gmail.com' => Array (
0 => 10
)
);
foreach ($array as $key => $value) {
echo "key: " , $key , PHP_EOL;
echo "value: " , implode(' ',$value) , PHP_EOL , PHP_EOL;
}