时间:2021-07-01 10:21:17 帮助过:4人阅读
代码如下:
<ul class="list3" id=myTab3> {get sql="select * from `phpcms_category` where style = ' b' order by listorder"} <li {if $n == 1} class=active {else} class=normal {/if} onmouseover=nTabs(this,<?php echo $n-1;?>);> {$r[catname]} </li> {/get} </ul> <!-- <li class=active onmouseover=nTabs(this,0);>失眠症</li>
以上就是phpcms2008 if else语句实战应用的内容,更多相关内容请关注PHP中文网(www.gxlcms.com)!