Smarty

WBOY
Release: 2016-06-13 13:45:36
Original
1017 people have browsed it

Smarty 求助

class="alt"id="ls">


class="red"class="green"class="blue"style="color:;">


更多 »



没学过PHP,又要急着改一段代码,大家帮帮忙!以上代码没有错误,数组中共有20个元素,我想分成4次输出,每次输出5个,要怎么改?就是改成如下形式
第一组:
内容1
内容2
内容3
内容4
内容5

第二组:
内容5
内容7
内容8
内容9
内容10

.........
其实我就是想每隔五组元素输出一个
写标题

有没有好心大神帮我写一下,万分感激,加急

------解决方案--------------------






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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template