数组 求解

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 14:40:071071browse



我想要得到值为code 后面的数组的值 并拼接成一个字符串


回复讨论(解决方案)

找出 code的 key 然后循环后面的内容 拼装...

echo implode('',array_slice($arr,array_search('code',$arr)+1));

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn