smarty的fetch方法不能使用include解决办法

WBOY
Release: 2016-06-13 10:08:28
Original
756 people have browsed it

smarty的fetch方法不能使用include
兄弟们,我在使用SMARTY模板引擎的时候,制作好的我的模板,模板中用smarty的include包含了文件,可是我用fetch方法解析模板并赋给一个变量,不好用啊.我想把取得的内容保存成一个文件的,现在取不到值 .而且include的部分直接输出了.
我知道可以用smarty变量代替include方法,可是这样作不好.
可以即用include方法,又能用fetdch解析吗>

------解决方案--------------------
又是 SMARTY
我倒想看看是否能得到满意的答复!
------解决方案--------------------
楼上的,反正,这么急嘛,给我得了,呵呵
------解决方案--------------------
细心使得万年船,尤其是code,差一个字符都会出问题的

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!