Function to variation on implode_with_key:
<?php
function implode_with_key($assoc, $inglue = ‘=’, $outglue = ‘&’)
{
$return = null;
foreach ($assoc as $tk => $tv) $return .= $outglue.$tk.$inglue.$tv;
return substr($return,strlen($outglue));
}
?>