thinkphp视图模型数据怎么循环输出在模板

array(2){[0]=>array(1){[0]=>array(14){["id"]=>string(1)"2"["name"]=>string(4)"lisi"["... array(2) {
[0] => array(1) {
[0] => array(14) {
["id"] => string(1) "2"
["name"] => string(4) "lisi"
["pwd"] => string(3) "123"
["sex"] => string(1) "1"
["ctime"] => string(10) "0000-00-00"
["group"] => string(1) "1"
["uid"] => string(1) "2"
["fid"] => string(1) "2"
["title"] => string(3) "321"
["content"] => string(6) "654321"
["file"] => string(0) ""
["count"] => string(1) "0"
["hit"] => string(1) "0"
["ptime"] => string(10) "0000-00-01"
}
}
[1] => array(1) {
[0] => array(14) {
["id"] => string(1) "3"
["name"] => string(6) "wangwu"
["pwd"] => string(3) "123"
["sex"] => string(1) "1"
["ctime"] => string(10) "0000-00-00"
["group"] => string(1) "1"
["uid"] => string(1) "3"
["fid"] => string(1) "3"
["title"] => string(4) "loop"
["content"] => string(10) "loooooping"
["file"] => string(0) ""
["count"] => string(1) "0"
["hit"] => string(1) "0"
["ptime"] => string(10) "0000-00-00"
}
}
}
展开
 我来答
AI上流星
2013-10-16 · TA获得超过169个赞
知道小有建树答主
回答量:368
采纳率:0%
帮助的人:194万
展开全部
<volist name="list" id="vo">
{$vo.0.id}
</volist>
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式