Maison  >  Article  >  développement back-end  >  帝国CMS [ecmsinfo]标签 使用SQL语句解决办法

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

WBOY
WBOYoriginal
2016-06-13 13:52:461544parcourir

帝国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灵活
Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn