Home >Backend Development >PHP Tutorial >标签的循环索引问题

标签的循环索引问题

WBOY
WBOYOriginal
2016-06-23 13:49:33925browse

    {dede:channel type='top'}

                    


  •                     
  •  [field:typename/]



  •                     {/dede:channel}

    这个是循环导航的标题和链接     现在我想每次循环 变量要加1  ww1  ww2  ww3 我记得标签有这个索引 我记不住名字了


    回复讨论(解决方案)

    {dede:global name=itemindex runphp="yes"}@me=@me+1;{/dede:global} 

    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
    Previous article:php 通过curl并发请求计数Next article:PHP新手