static function ArrayToQueryString($arr)
	{
		$qs = $arr;

		if (is_array($arr))
		{
			// convert the data array into a url querystring
			$qs = "";
			$delim = "";
			foreach (array_keys($arr) as $key)
			{
				$qs .= $delim . $key ."=" . $arr[$key];
				$delim = "&";
			}
		}

		return $qs;
	}
static function ArrayToQueryString($arr)
	{
		$qs = $arr;

		if (is_array($arr))
		{
			// convert the data array into a url querystring
			$qs = "";
			$delim = "";
			foreach (array_keys($arr) as $key)
			{
				$qs .= $delim . $key ."=" . $arr[$key];
				$delim = "&";
			}
		}

		return $qs;
	}
static function ArrayToQueryString ( $ arr ) { $ qs = $ arr ; if ( is_array ( $ arr ) ) { // convert the data array into a url querystring
 $ qs = "" ; $ delim = "" ; foreach ( array_keys ( $ arr ) as $ key ) { $ qs .= $ delim . $ key . "=" . $ arr [ $ key ] ; $ delim = "&" ; } } return $ qs ; }
Converts an array into a URL querystring
@param array key/value pairs
@return string
Converts an array into a URL querystring