HttpRequest::addQueryData

(PECL pecl_http >= 0.10.0)

HttpRequest::addQueryDataAdd query data

說明

public bool HttpRequest::addQueryData ( array $query_params )

Add parameters to the query parameter list, leaving previously set unchanged.

Affects any request type.

參數

query_params

an associative array as parameter containing the query fields to add

回傳值

如果成功則回傳 TRUE,失敗則回傳 FALSE

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top