PHP implode_with_key(); Implode array with key and valueReply to comment function explode_with_key($assoc, $indelimiter = '=', $outdelimiter = '|') { $return = []; $assoc = explode($outdelimiter, $assoc); foreach ($assoc as $ts) { list($key, $value) = explode($indelimiter, $ts); $return[$key] = $value; } return $return; } Comment:Name (optional):Post Reply
PHP implode_with_key(); Implode array with key and value
Reply to comment