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

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

WBOY
Release: 2016-06-13 13:52:46
Original
1605 people have browsed it

帝国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]

Copy after login

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

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

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

Copy after login

列表内容:
PHP code
<!--

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

-->
[!--newstext--]

Copy after login

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

------解决方案--------------------
newstext字段在附表里,貌似~~好就不用了~~~
------解决方案--------------------
建议使用灵动,比ecmsinfo灵活
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template