Home  >  Article  >  Backend Development  >  求解thinkphp模版变量的输出有关问题

求解thinkphp模版变量的输出有关问题

WBOY
WBOYOriginal
2016-06-13 13:11:45737browse

求解thinkphp模版变量的输出问题
不知道为什么;在thinkphp模版中输出一个字符串(sessionud),
但是这个字符串的输出却莫名其妙,
有的地方直接输出 {$id},有的地方却被替换成了 相应的字串;
很不明白为什么,
求各位父老解释。

------解决方案--------------------
调用模板页的动态页,未添加解析此处的样式
也就是说:你如果添加替换内容的话,静态页和动态页两个都要修改
若修改,请参见本页其他处{}调用规则

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