_http_build_query


_http_build_query ( $data, $prefix = null, $sep = null, $key = '', $urlencode = true )

Access:
  • private
Parameters:
  • (array|object) data An array or object of data. Converted to array.
  • (string) prefix Optional. Numeric index. If set, start parameter numbering with it. Default null.
  • (string) sep Optional. Argument separator; defaults to 'arg_separator.output'. Default null.
  • (string) key Optional. Used to prefix key name. Default empty string.
  • (bool) urlencode Optional. Whether to use urlencode() in the result. Default true.
See:
Returns:
  • (string) The query string.
Defined at:

Description

From php.net (modified by Mark Jaquith to behave like the native PHP5 function).

Related Functions

build_query, _wp_filter_build_unique_id, wp_http_validate_url, _wp_upload_dir, wp_reset_query

Top Google Results

User discussions

wpseek mobile