Generates a URL-encoded query string from the associative (or indexed) array provided.
formdata may be an array or object containing properties.
A formdata array may be a simple one-dimensional structure,
or an array of arrays (who in turn may contain other arrays). If numeric indices
are used in the base array and a numeric_prefix is provided,
it will be prepended to the numeric index for elements in the base array only.
This is to allow for legal variable names when the data is decoded by PHP
or another CGI application later on.
Note:
Only the numerically indexed element in the base array "CEO" received a
prefix. The other numeric indices, found under pastimes, do not
require a string prefix to be legal variable names.
Example 4. Using http_build_query() with an object
http build query php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php http build query syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.