http_build_query () // is associated with the given (or index) into an array after a string of URL-encode request
示例
<?php
$arr = ['username'=>'liizlu','daihao'=>'wangbadan'];
$str = http_build_query($arr);
var_dump($str);
http_build_query () // is associated with the given (or index) into an array after a string of URL-encode request
示例
<?php
$arr = ['username'=>'liizlu','daihao'=>'wangbadan'];
$str = http_build_query($arr);
var_dump($str);