Set query string params

HttpQueryString::mod
HttpQueryString::singleton
The HttpQueryString class
PHP Manual

# HttpQueryString::set

(PECL pecl_http >= 0.22.0)

HttpQueryString::set — Set query string params

### Description

public string HttpQueryString::set ( mixed `$params` )

Set query string entry/entries. `NULL` values will unset the variable.

### Parameters

`params`

  query string params to add

### Return Values

Returns the current query string.

HttpQueryString::mod
HttpQueryString::singleton
The HttpQueryString class
PHP Manual