How does phpcms judge whether there are subordinate columns?
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!