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!