我当前的 php 代码返回三个数组。我想将这三个数组转换为 3 个逗号分隔的字符串。
我的阵列回声看起来像这样..
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 代码片段帮助我将一个数组转换为逗号分隔值。我将处理循环以将我的三个数组转换为字符串..