时间:2021-07-01 10:21:17 帮助过:7人阅读
输出:
$b-title = baidu;
$b-keyword = search;
$b-content = baidu search;
$g-title = google;
$g-keyword = search;
$g-content = google search;
$baidu=array('baidu'=>array('$b-title','$b-keyword','$b-content'));
$google=array('google'=>array('$g-title','$g-keyword','$g-content'));
?>
$b_title = 'baidu';
$b_keyword = 'search';
$b_content = 'baidu search';
$baidu = array('b-title'=>$b_title,'b-keyword'=>$b_keyword,'b-content'=>$b_content);
echo http_build_query($baidu);