关于 DEDE 的 ~typeid~ 的写法的有关问题

WBOY
Release: 2016-06-13 12:59:40
Original
1027 people have browsed it

关于 DEDE 的 ~typeid~ 的写法的问题
~typeid~ 这个 写法,是希望根据分类动态选择内容,

比如:

{dede:sql sql='SELECT ar.id, ar.litpic,ar.title,ar.description FROM ... where ar.typeid=~typeid~' },

it does work ,but where to find the explain of this tag?

如何找到这个标签在哪里解释的?我用 ~typeid~找了整站,除了模板里有,米看见程序里有如何解释的过程,

求解!
------解决方案--------------------
估计是模板里写错了
~topid~ 误写作 ~typeid~

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!