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"">
Home > Backend Development > PHP Tutorial > php 中怎么 循环提取三维数组的数据

php 中怎么 循环提取三维数组的数据

WBOY
Release: 2016-06-02 11:31:23
Original
1395 people have browsed it

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】对应的一组数据

Related labels:
php
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template