PHP implode_with_key(); Implode array with key and valueReply to commentWhat about: function implode_with_key($assoc, $inglue = ':') { if(is_array($assoc) && count($assoc)>0) { foreach ($assoc as $tk => $tv) { $return[] = $tk . $inglue . $tv; } return implode(';', $return); } return false; } Comment:Name (optional):Post Reply
PHP implode_with_key(); Implode array with key and value
Reply to comment