Home > CMS Tutorial > PHPCMS > body text

phpcms v9 determines whether there are sub-columns

angryTom
Release: 2019-11-09 10:58:52
Original
2767 people have browsed it

phpcms v9 determines whether there are sub-columns

##phpcms v9 determines whether there is a sub-column

Determine by judging child, for example:

Method one:

if($r[child]){
    echo "有子栏目";
}else{
    echo "无子栏目";
}
Copy after login

Method two:

{if $r[child]}
    有子栏目
{else}
    无子栏目
{/if}
Copy after login

Method three:

{if $child==1}
    有子栏目
{else}
    无子栏目
{/if}
Copy after login

PHPCMS V9 (hereinafter referred to as V9) uses PHP5 MYSQL as the technical basis for development. V9 adopts the OOP (Object-Oriented Programming) MVC design pattern to build the basic operating framework. Modular development method is used as a functional development method. The framework is easy to expand functions, maintain code, and has excellent secondary development capabilities, which can meet the application needs of all websites. An excellent team with 5 years of development experience, while mastering rich WEB development experience and CMS product development experience, has the courage to innovate and pursue perfect design concepts, providing assistance to as many as 100,000 websites around the world, and has been adopted by more government agencies, Recognized by educational institutions, public institutions, commercial enterprises, and individual webmasters. While retaining the characteristics of the 2008 version, V9 has made major innovations in the new version, hoping that the new PHPCMS system will serve more users.

Recommended tutorial:

phpcms tutorial

The above is the detailed content of phpcms v9 determines whether there are sub-columns. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!