时间:2021-07-01 10:21:17 帮助过:12人阅读
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 ) ) )
".$value_3['strcommentcontent'].""; echo "
"; echo "来自".$value_3['strusername']." ".$value_3['strcreatetime'].">"; echo "
"; echo "
"; } else { echo "null date"; } } } }?>
3 在哪里?
foreach ($arrGetDoctorComment as $arr_3) { if ( $arr_3['strcommenttype'] == "9" ) { echo "".$value_3['strcommentcontent']."
"; echo "
"; echo "来自".$value_3['strusername']." ".$value_3['strcreatetime'].">"; echo "
"; echo "
"; } else { echo "null date"; } }
3 在哪里?
foreach ($arrGetDoctorComment as $arr_3) { if ( $arr_3['strcommenttype'] == "9" ) { echo "".$value_3['strcommentcontent']."
"; echo "
"; echo "来自".$value_3['strusername']." ".$value_3['strcreatetime'].">"; echo "
"; echo "
"; } else { echo "null date"; } } 你的代码不是对的吗,有什么问题?
你的代码不是对的吗,有什么问题?
我在该显示2的地方没显示出来,显示的是0的信息。
你的代码不是对的吗,有什么问题?
".$value_3['strcommentcontent']."
"; echo "=$arrGetDoctorComment['doctorcomment'][$i]['strcommentcontent'];?>
来自=$arrGetDoctorComment['doctorcomment'][$i]['strusername'];?> =$arrGetDoctorComment['doctorcomment'][$i]['strcreatetime'];?>
".$value_2['strcommentcontent']."
"; echo "".$value_3['strcommentcontent']."
"; echo " 你每一节都是 if ( $value_3['strcommenttype'] == "3" ) {
自然结果都是一样的
你每一节都是 if ( $value_3['strcommenttype'] == "3" ) {
自然结果都是一样的
http://m.gstzy.cn/comment/doctorcomment.php?doctorid=335
你 #5 的代码得不到连接中的效果
但也不能排除第7行未封闭的 li 在你的浏览器中作怪
你 #5 的代码得不到连接中的效果
但也不能排除第7行未封闭的 li 在你的浏览器中作怪
".$value_1['strcommentcontent']."
"; echo "".$value_2['strcommentcontent']."
"; echo "".$value_3['strcommentcontent']."
"; echo "