In PHP, I need a function to convert a querystring from an URL, say: http://example.com?key1=value1&key2=value2 into a PHP associative array : array [
http://example.com?key1=value1&key2=value2
array [
Try using parse_url