Codice PHP:
$new = array();
foreach(
$array as $k => $v)
$new[] = $k.':'.$v;
$str implode(',',$new);