Home >php教程 >php手册 >phpcms2008 if else 实战应用

phpcms2008 if else 实战应用

WBOY
WBOYOriginal
2016-06-13 10:56:22931browse

[html]

     
       {get sql="select * from `phpcms_category` where style = ' b'  order by listorder"} 
      
  •     
       {if $n == 1} class=active {else} class=normal {/if} onmouseover=nTabs(this,);> 
       {$r[catname]} 
        
        
       {/get} 
     
 
 
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