我目前的php代码返回三个数组。我想将这三个数组转换成3个逗号分隔的字符串。2个数组转换为逗号分割的字符串
我的阵列回声看起来是这样的..
array (size=3)
0 =>
array (size=3)
0 => string '1' (length=1)
1 => string 'here' (length=4)
2 => string 'Skincare composition against free radicals' (length=42)
1 =>
array (size=3)
0 => string '2' (length=1)
1 => string 'tere' (length=4)
2 => string 'Compositions and methods for modification of skin lipid content' (length=63)
2 =>
array (size=3)
0 => string '3' (length=1)
1 => string 'fere' (length=4)
2 => string 'Method and apparatus for acne treatment' (length=39)
帮我一个简单的PHP代码片段一个数组转换为逗号分隔值。我将在环路我的三个阵列转移到字符串工作..
['join' ](http://php.net/join) – deceze
@deceze但是'implode'更加戏剧化! – Leigh
@Leigh我宁愿喜欢所有字符串以“加入”和谐......! :3 – deceze