Home > Backend Development > PHP Tutorial > php 数组转1维

php 数组转1维

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:39:47
Original
787 people have browsed it

php 数组转一维

Array(    [0] => Array        (            [cat_id] => 9        )    [1] => Array        (            [cat_id] => 42        ))#通过库函数将上面数组变成下面这个样子:$res=array_map("array_pop",$arr);Array(    [0] => 9    [1] => 42)
Copy after login
?
Related labels:
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
Latest Issues
How to create an array within an array?
From 1970-01-01 08:00:00
0
0
0
php array
From 1970-01-01 08:00:00
0
0
0
Array to array
From 1970-01-01 08:00:00
0
0
0
php array rotation
From 1970-01-01 08:00:00
0
0
0
array
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template