ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
比如循环以下表格 ``` <tbody> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> <tr> <td>4</td> <td>5</td> <td>6</td> </tr> </tbody> ``` 方法一: ``` {php}$ii=0;$jj=1;{/php} {yzn module="cms" action="lists" catid="6" cache="3600" order="listorder DESC" num="10" return="data"} {volist name="data" id="vo"} {if $ii%3==0} <tr> {/if} <td>html...</td> {if $jj%3==0} </tr> {/if} {php}$ii++;$jj++;{/php} {/volist} {/yzn} ```