http_build_query

 string http_build_query ( mixed $query_data [, string $numeric_prefix [, string $arg_separator [, int $enc_type = PHP_QUERY_RFC1738 ]]] ) 

説明

Generates a URL-encoded query string from the associative (or indexed) array provided.

戻り値

Returns a URL-encoded string.