Home  >  Article  >  Backend Development  >  帝国CMS [ecmsinfo]标签 使用SQL语句解决办法

帝国CMS [ecmsinfo]标签 使用SQL语句解决办法

WBOY
WBOYOriginal
2016-06-13 13:52:461543browse

帝国CMS [ecmsinfo]标签 使用SQL语句
这是调用SQL的代码:

PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
[ecmsinfo]'SELECT * FROM [!db.pre!]ecms_news_data_1 WHERE classid=17',1,0,0,24,14,0,0,0[/ecmsinfo]


这是模板显示的代码:
页面模板:
PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
[!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]


列表内容:
PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
[!--newstext--]


我是想在列表页显示某条信息的详细内容,但显示出来 [!--newstext--]这个标签没被编译,找了好久,解决不掉这问题,
求高手

------解决方案--------------------
newstext字段在附表里,貌似~~好就不用了~~~
------解决方案--------------------
建议使用灵动,比ecmsinfo灵活
Statement:
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