您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息
免费发信息
三六零分类信息网 > 海东分类信息网,免费分类信息发布

PHP遍历有关问题,麻烦路过的有关问题

2024/3/5 13:55:11发布11次查看
php遍历问题,麻烦路过的问题
数组:
array
(
[doctorcomment] => array
(
[0] => array
(
[status] => success
[strcommenttype] => 1
[strcommentcontent] => 萨达
[strcreatetime] => 2014-08-20
[strusername] => wanhui
[struserip] => 121.101.220.243
[strmobile] => 13910527603
)
[1] => array
(
[status] => success
[strcommenttype] => 2
[strcommentcontent] => sdfsd
[strcreatetime] => 2014-08-20
[strusername] => sdfds
[struserip] => 343.2432.432
[strmobile] => 18600085268
)
[2] => array
(
[status] => success
[strcommenttype] => 9
[strcommentcontent] => fsfddsf
[strcreatetime] => 2014-08-20
[strusername] => sdfdsdfd
[struserip] => 343.2432.432
[strmobile] => 18600085268
)
)
)

;
echo
;
echo ;
} else {
echo null date;
}
}
}
}
?>

麻烦问问,我为什么取不出是3的值呢,取3的值的时候取的是1的值
------解决方案--------------------
3 在哪里?
foreach ($arrgetdoctorcomment as $arr_3) {

海东分类信息网,免费分类信息发布

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录