Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
HTTP Functions
PHP Manual

http_build_str

(PECL pecl_http >= 0.23.0)

http_build_strBuild query string

Description

string http_build_str ( array $query [, string $prefix [, string $arg_separator ]] )

Opponent to parse_str().

Parameters

query

associative array of query string parameters

prefix

top level prefix

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


HTTP Functions
PHP Manual