Home > Backend Development > PHP Tutorial > smarty怎么搞的

smarty怎么搞的

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 13:16:43
Original
834 people have browsed it

工作中要用到,根本没学过,求指点。


回复讨论(解决方案)

那就学一下呗  https://www.baidu.com/s?ie=UTF-8&wd=smarty%E6%95%99%E7%A8%8B

那就学一下呗  https://www.baidu.com/s?ie=UTF-8&wd=smarty%E6%95%99%E7%A8%8B

就百度的一个链接,我早就搜过了,看的一头雾水

这天底下就没有捷径

这天底下就没有捷径

看不懂啊,大婶

试一下就知道怎么搞了

先引入smarty的类
然后程序里面就
$this->assign('模板变量',php变量);
$this->display("模板文件名");

Related labels:
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