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"
}
}
} 展开
[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"
}
}
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询