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"
}
}
} 展开
1个回答
光点科技
2023-08-15 广告
2023-08-15 广告
通常情况下,我们会按照结构模型把系统产生的数据分为三种类型:结构化数据、半结构化数据和非结构化数据。结构化数据,即行数据,是存储在数据库里,可以用二维表结构来逻辑表达实现的数据。最常见的就是数字数据和文本数据,它们可以某种标准格式存在于文件...
点击进入详情页
本回答由光点科技提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询