Home > Article > Backend Development > 求解怎么求出从数组中取出type和brand对应的值
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)
取出的结果 要作为另外一个数组的查询条件
那个好心人帮忙解决下