Home > CMS Tutorial > Empire CMS > 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

藏色散人
Release: 2019-11-18 10:50:00
Original
2424 people have browsed it

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]
Copy after login

$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!

Related labels:
source:php.cn
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