foreach ($query as $v)
{
$v = join(",",$v);
$temp[] = $v;
}
$t="";
foreach($temp as $v){
$t.=$v.";";
}
$t=substr($t,0,-1);
foreach ($query as $v)
{
$v = join(",",$v);
$temp[] = $v;
}
$t="";
foreach($temp as $v){
$t.=$v.";";
}
$t=substr($t,0,-1);
本文标题:php二维数组合并成字符串
本文链接:https://www.haomeiwen.com/subject/qrpytktx.html
网友评论