Home  >  Article  >  Backend Development  >  总数21,分成5份,每一份输出5条 如何写

总数21,分成5份,每一份输出5条 如何写

WBOY
WBOYOriginal
2016-06-13 12:39:47895browse

总数21,分成5份,每一份输出5条 怎么写
我用php 做模版
总共调用21个标题  分成5份输出,每一份的样式不同,请问判断怎么写?
--------大致效果如下-----------
               
                    一个H2标题
           
显示5个标题              显示5个标题
           
显示5个标题              显示5个标题
--------大致效果如上-----------
请给出代码

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