Thursday, 15 December 2011

URL encoded query string from key value pair

To generate a URL encoded query string from an associative array in PHP, use the function http_build_query.
Reference: http://php.net/manual/en/function.http-build-query.php


No comments:

Post a Comment