求解怎么求出从数组中取出type和brand对应的值

WBOY
Release: 2016-06-23 13:37:26
Original
1031 people have browsed it

array
0 =>
array
'id' => string '1' (length=1)
'code' => string '123123131' (length=9)
'brand' => string '1' (length=1)
'type' => string '4' (length=1)
1 =>
array
'id' => string '2' (length=1)
'code' => string 'GC0002QQkxq' (length=11)
'brand' => string '6' (length=1)
'type' => string '40' (length=2)

2 =>
array
'id' => string '3' (length=1)
'code' => string 'GC0002QQzbq' (length=11)
'brand' => string '1' (length=1)
'type' => string '4' (length=1)

3 =>
array
'id' => string '4' (length=1)
'code' => string 'GC0002QQdxd' (length=11)
'brand' => string '1' (length=1)
'type' => string '4' (length=1)


回复讨论(解决方案)

取出的结果 要作为另外一个数组的查询条件

那个好心人帮忙解决下

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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!