You can use http_build_query()
to do that.
Generates a URL-encoded query string from the associative (or indexed) array provided.
You can use http_build_query()
to do that.
Generates a URL-encoded query string from the associative (or indexed) array provided.