implode 把数组 组成一个字符串

$data=array(1,2,3,4,5);

implode(",",$data);

  

原文地址:https://www.cnblogs.com/hgj123/p/4168978.html