fetch($ecms_bq_sql)){$bqsr.. .}" and save."/> fetch($ecms_bq_sql)){$bqsr.. .}" and save.">

Home  >  Article  >  CMS Tutorial  >  How to achieve infinite nesting of labels in Imperial CMS smart labels

How to achieve infinite nesting of labels in Imperial CMS smart labels

藏色散人
藏色散人Original
2020-01-13 09:17:363280browse

How to achieve infinite nesting of labels in Imperial CMS smart labels

How to achieve infinite nesting of labels in Empire CMS smart tags?

This article mainly introduces the Empire CMS smart tag PHP code to achieve the effect of infinite nesting of tags. Friends in need can refer to the following

Recommended study "Empire cms tutorial

Most friends who are familiar with the Empire CMS know how to use smart tags to call specific information, but the powerful functions of smart tags are far from that.

The PHP function of the smart label is:

sys_ReturnEcmsLoopBq (column ID/topic ID, number of items displayed, operation type, only pictures with titles, additional SQL conditions, display sorting)

PHP code using smart tags can call information in pages that do not support smart tags, and can also achieve the effect of infinite nesting of tags.

So how can we achieve the effect of infinite nesting of tags? The following is an example:

The code is as follows:

fetch($ecms_bq_sql))
{
$bqsr=sys_ReturnEcmsLoopStext($bqr);
$bqno++;
?>
fetch($ecms_bq_sql2))
{
$bqsr2=sys_ReturnEcmsLoopStext($bqr2);
$bqno2++;
?>
模板代码内容2 

模板代码内容 

When using, the infinite nesting effect can be achieved by modifying the variable names of $ecms_bq_sql, $bqno, $bqr, and $bqsr in a targeted manner.

The above is the detailed content of How to achieve infinite nesting of labels in Imperial CMS smart labels. 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