0

我得到这种格式的输出

Array ( [0] => Life [1] => living [2] => Health )

我想要这种格式的输出 Life,living,Health如何以这种格式实现上述输出?

4

1 回答 1

4

使用php 中可用的implode函数

$yourRequiredString = implode (",", $array);
于 2013-05-12T16:39:20.803 回答