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

php二维数组添加元素

WBOY
Release: 2016-06-20 12:49:55
Original
3663 people have browsed it

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

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


Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template