当前位置:Gxlcms > PHP教程 > 求解怎么求出从数组中取出type和brand对应的值

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

时间:2021-07-01 10:21:17 帮助过:44人阅读

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)


回复讨论(解决方案)

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

那个好心人帮忙解决下

人气教程排行