array(2) { [0]=> string(1) "1" [1]=> string(1) "2" } ["buy_number"]=> array(2) { [0]=> string(2) "22" [1]=> string(2) "22" } ["buy_price""/> array(2) { [0]=> string(1) "1" [1]=> string(1) "2" } ["buy_number"]=> array(2) { [0]=> string(2) "22" [1]=> string(2) "22" } ["buy_price"">
php
array(3) {
["goods_id"]=>
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
}
["buy_number"]=>
array(2) {
[0]=>
string(2) "22"
[1]=>
string(2) "22"
}
["buy_price"]=>
array(2) {
[0]=>
string(5) "20.00"
[1]=>
string(5) "20.00"
}
}
这种数组 我怎么循环能得到 【0】对应的一组数据,【1】对应的一组数据