Home >Backend Development >PHP Tutorial >php二维数组添加元素

php二维数组添加元素

WBOY
WBOYOriginal
2016-06-20 12:49:553649browse

有两个二维数组,想把其中一个数组总的元素添加到另一个数组元素之中

for($i=0; $i < count($playerrecharge_list); ++$i){            $playerrecharge_list[$i]['nummoney'] = $nummoney[$i]['nummoney'];}


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