1-数组转为字符串
$array=["php","Java","web"];
$result=implode(",",$array);
2-字符串转为数组
$str="php,java,web";
$rsult=explode(',',$str);
更多的功能和插件 地址:https://www.kancloud.cn/he_he/thinkphp5
1-数组转为字符串
$array=["php","Java","web"];
$result=implode(",",$array);
2-字符串转为数组
$str="php,java,web";
$rsult=explode(',',$str);
更多的功能和插件 地址:https://www.kancloud.cn/he_he/thinkphp5