HTTP_BUILD_STR(3) 1 HTTP_BUILD_STR(3)
http_build_str - Build query string
SYNOPSIS
string http_build_str (array $query, [string $prefix], [string $arg_separator = ini_get("arg_separator.output")])
DESCRIPTION
Builds a query string from an array of query variables. In effect, this function is the opposite of parse_str(3).
PARAMETERS
o $query
- associative array of query string parameters
o $prefix
- top level prefix
o $arg_separator
- argument separator to use (by default the INI setting arg_separator.output will be used, or "&" if neither is set
RETURN VALUES
Returns the built query as string on success or FALSE on failure.
SEE ALSO
standard http_build_query(3), http_build_url(3).
PHP Documentation Group HTTP_BUILD_STR(3)