PHP操作Smarty

使用Smarty六步走 ① 设置响应头信息(防止出现乱码) header(‘Content-type:text/html; charset=utf-8’); ② 载入Smarty入口文件(载入Smarty类) include ‘smarty/Smarty.class.php’); ③ 实例化Smarty类 $smarty = new Smarty(); ④ 更改Smarty对象的默认属性(左右分隔
相关文章
相关标签/搜索