- 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."\n";
echo "value: ".implode(' ',$value)."\n\n";
}