不知怎的,我无法用PHP数组循环打印区域
我应该如何编写代码来打印数组的所有区域
请帮助 谢谢,
样本数组
Array ( [ackCode] => success
[responseTime] => 10/12/2015 18:33:36
[timeElapsed] => 108 ms
[saleCount] => 6
[sales] => Array (
[sale] => Array (
[0] => Array (
[saleCode] => SC23423423
[productId] => 196785348
[price] => 14.70
[buyerInfo] => Array (
[username] => Debene
[name] => adi
[surname] => soyadi
[1] => Array (
[saleCode] => SC154565
[productId] => 196208512
[price] => 24.9
[buyerInfo] => Array (
[[username] => Debene2
[name] => adi2
[surname] => soyadi2
[variantId] => 38351116
[variantSpecs] => Array (
[variantSpec] => Array (
[0] => Array (
[name] => Renk
[value] => Gri
[stockCode] =>
)
[1] => Array (
[name] => Beden
[value] => M
[stockCode] => )
) ) ) ) ) )