Home  >  Article  >  CMS Tutorial  >  How to implement the serial number in the smart label of Empire CMS

How to implement the serial number in the smart label of Empire CMS

藏色散人
藏色散人Original
2019-11-18 10:50:002315browse

How to implement the serial number in the smart label of Empire CMS

How to implement the serial number in the empire cms smart tag?

A list with serial numbers is often needed. Such as 12345.... Of course, universal tags can also be used. But when outputting the column list, the universal tag cannot be used. At this time we can use the smart tag

often need a list with serial numbers. Such as 12345...

Of course, universal tags can also be used. But when outputting the column list, the universal tag cannot be used.

At this time we can use smart tags.

[e:loop={"select * from phome_enewsclass where bclassid=0 order by classid limit 20 ",20,24,0}]
//输出内容
[/e:loop]

$bqno is the serial number. The default is to start from 1

If you want to start from 2, $bqno 1

If you want to start from 3, $bqno 2

The above is the detailed content of How to implement the serial number in the smart label of Empire CMS. 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