Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does phpcms judge whether there are subordinate columns?

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how phpcms judges whether there are subordinate columns, which have certain reference value, and friends who need them can refer to them. I hope you will have a lot of success after reading this article. Let's take a look at it together.

Phpcms determines whether there are subordinate columns?

To judge child to determine, for example:

if($r[child]){echo "has child column";}else{echo "has no child column";}

Or:

{if$r[child]} has child {else} has no child {/if}

Or:

{if$child==1} has sub-column {else} no sub-column {/if} thank you for reading this article carefully, hope Xiaobian share phpcms how to judge whether there are subordinate column content to help everyone, but also hope that everyone more support, pay attention to industry information channels, encounter problems to find, detailed solutions waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report