Home > Backend Development > PHP Tutorial > phpcms2008 if else statement practical application

phpcms2008 if else statement practical application

PHP中文网
Release: 2023-02-28 19:08:01
Original
1482 people have browsed it

if else is used in selection judgment. Next, I will introduce the application of phpcms2008 if else. Friends who are interested can refer to it. I hope it will be helpful to you. The help

code is as follows:

<ul class="list3" id=myTab3> 
{get sql="select * from `phpcms_category` where style = &#39; b&#39; 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>
Copy after login

The above is the content of the practical application of phpcms2008 if else statement. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


Related labels:
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
Latest Articles by Author
Latest Issues
How to uninstall phpcms
From 1970-01-01 08:00:00
0
0
0
phpcms cannot be installed
From 1970-01-01 08:00:00
0
0
0
phpcms access address does not exist
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template