http_build_query

Example

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

Description

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

Return Values

Returns a URL-encoded string.