PHP操作Smarty

使用Smarty六步走 ① 設置響應頭信息(防止出現亂碼) header(‘Content-type:text/html; charset=utf-8’); ② 載入Smarty入口文件(載入Smarty類) include ‘smarty/Smarty.class.php’); ③ 實例化Smarty類 $smarty = new Smarty(); ④ 更改Smarty對象的默認屬性(左右分隔
相關文章
相關標籤/搜索