您的位置 首页 php

PHP 使用Implode分割多维数组

$ids = array_column($communications, ‘id’);//其中id 为列名,communications为需要分割的数组

$output = implode(‘,’, $ids);

文章来源:智云一二三科技

文章标题:PHP 使用Implode分割多维数组

文章地址:https://www.zhihuclub.com/77787.shtml

关于作者: 智云科技

热门文章

网站地图