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

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

silencement
Release: 2019-12-03 14:13:06
forward
3174 people have browsed it

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

Often a list with serial numbers is 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 smart tags.

[e:loop={"select * from phome_enewsclass where bclassid=0 order by classid limit 20 ",20,24,0}]
//Output content
[/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

Recommended to study "Empire cms tutorial

The above is the detailed content of How to implement the serial number in the smart label of Empire CMS in one move. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:www.word666.com/cms
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template