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

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

WBOY
WBOYOriginal
2016-06-13 12:25:261396browse

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




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

Statement:
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