php数组怎样转换成字符串,一维数组转换成字符串代码!
<?php $arr1=array("shu","zhu","1"); $c=implode("##",$arr1); echo $c; //shu##zhu##1 ?>
二维数组转换成字符串代码
<?php $arr=array(array("hu","peng","123456")); $b=implode("##",$arr[0]); echo $b; //hu##peng##123456 ?>