In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the introduction of the dream weaving system tag code LOOP tag, the article introduces in great detail, has a certain reference value, interested friends must read it!
What is the dream weaving system tag code LOOP tag?
Description and usage of LOOP tag for Dream Weaving DEDECMS system tag Code
[LOOP tag]
Function description: used to call the data of any table, generally used to call operations such as forum posts
Scope of application: all templates
(1) basic grammar
{dede:loop table=' sort='' row='' if=''} underlying template {/ dede:loop}
(2) attribute
[1] table represents the data table of the query
[2] Fields used by sort to sort
[3] the number of results returned by row
[4] if query condition
(3) underlying template variables
The underlying template variable of this tag is all the fields of the table being queried.
Example: get the latest topic posts of the Phpwind forum
{dede:loop table='pw_threads' sort='tid' row='8' if=''}
[field:subject function= "cn_substr ('@ me',30)" /] ([field:lastpost function= "date ('mmurd Hazzard Manners)) /]) {/ dede:loop} above are all the contents of the brief introduction of the dream weaving system tag code LOOP. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.