PHP数据转换
//php将数组转换成url段格式的方法 $array=array( 'id' =>123, 'name' =>'dopost' ); echo http_build_query($array); //得到结果 id=123&name=dopost