Home > Backend Development > PHP Tutorial > Thinkphp统制volist的循环次数,限制只显示部分数据

Thinkphp统制volist的循环次数,限制只显示部分数据

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:25:26
Original
1429 people have browsed it

Thinkphp控制volist的循环次数,限制只显示部分数据




这样就设置了只循环10条数据,offset的意思是从第几条记录开始,length是循环多少次的意思

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
volist failed to obtain information
From 1970-01-01 08:00:00
0
0
0
Problems in volist
From 1970-01-01 08:00:00
0
0
0
tp3.2.3 Front-end volist loop problem
From 1970-01-01 08:00:00
0
0
0
How to jump out of the volist loop directly
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template