update : 2015.11.03
php.shukuma.com

검색:
 
 
Build query string

http_build_str

(PECL pecl_http >= 0.23.0)

http_build_strBuild query string

설명

string http_build_str ( array $query [, string $prefix [, string $arg_separator = ini_get("arg_separator.output") ]] )

Builds a query string from an array of query variables. In effect, this function is the opposite of parse_str().

인수

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

반환값

Returns the built query as string on success실패 시 FALSE를 반환합니다.

참고