开发者

PHP: Return one of several arrays

I have a result that looks like this when I do a print_r($array);

(
    [0] => 9开发者_StackOverflow中文版6
    [1] => 95
    [2] => 94
)
Array
(
    [0] => 96
    [1] => 95
    [2] => 94
)
Array
(
    [0] => 96
    [1] => 95
    [2] => 94
)

How can I simply return something like "96,95,94"? And not return all 3 duplicate instances?

Thanks


print_r($array[0])

If you have 3 repeated Arrays just use the first one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜