一款2012年的php编译模板模板引擎使用方法:首先载入模板引擎核心文件JTemplate.class.phpinclude_once 'JTemplate/JTemplate.class.php';实例化模板引擎:$template = new JTemplate(模板目录,编译目录);模板引擎方法:1.assign方法用来将值传入模板中$template->assign(...……

分类:php 笔记 时间:2021年03月07日 浏览:475 阅读全文