http_build_query()

<?php 
//foo=bar&baz=boom&cow=milk&php=hypertext+processor 
$data = array('foo'=>'bar', 
              'baz'=>'boom', 
              'cow'=>'milk', 
              'php'=>'hypertext processor'); 
echo http_build_query($data); 
?>

 

posted on 2017-12-05 14:23  薇薇123456  阅读(112)  评论(0编辑  收藏  举报

导航