parse_str()函数
把查询字符串解析到变量中
parse_str(string, array);
string 规定要解析的字符串
array 存储变量的数组名称
例子:
<?php parse_str("id=23&name=John"); echo $id;
<?php parse_str("id=23&name=John", $arr); print_r($arr);