Home  >  Article  >  CMS Tutorial  >  phpcms v9 determines whether there are sub-columns

phpcms v9 determines whether there are sub-columns

angryTom
angryTomOriginal
2019-11-09 10:58:522806browse

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 "无子栏目";
}

Method two:

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

Method three:

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

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!

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