How to convert php array to string, php implode()


One-dimensional array of example code is converted into string code!
<?php
$arr1=array("shu","zhu","1");
$c=implode("##",$arr1);
echo $c; //shu##zhu##1 
?>
Convert two-dimensional array to string code
<?php
$arr=array(array(“hu”,”peng”,” 123456 “));
$b=implode(“##”,$arr[0]);
echo $b; //hu##peng##123456 ?>

Related: How to convert php array to string, php implode()