Mega Code Archive
A Function to Build Query Strings
A function to build query strings
$val ) {
if ( strlen( $ret ) )
$ret .= "&";
$ret .= urlencode( $key ) . "=" . urlencode( $val );
}
return $ret;
}
$q = array ( name => "Joe",
interest => "coding",
homepage => "http://www.google.com"
);
print qlink( $q );
?>
">Go!