The method of arranging DEDE by serial number
How to arrange DEDE by serial number? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!
How does DEDE start with 0 and 1 by serial number?
The debugging program uses [field:global name=autoindex/] to call the specified channel and the channel needs to be preceded by CSS code. The CSS code happens to be arranged by serial number, so the code is modified and shared with you. Interested friends can collect it.
Today, to debug the program for others, use [field:global name=autoindex/] to call the designated channel. The CSS code needs to be added in front of the channel, and the CSS code is arranged by serial number.
Suddenly found that it is from 0. So I changed the code!
If you start with 0 like me, and you want him to start with 1, use this code:
[field:global name=autoindex runphp= "yes"] @ me=@me+1; [/ field:global]
On the contrary, if you start with 1 and you want him to start with 0, use this code:
[field:global name=autoindex runphp= "yes"] @ me=@me-1; [/ field:global] Thank you for reading! After reading the above, do you have a general idea of how DEDE is arranged by serial number? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.