Home > Article > CMS Tutorial > 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!