登录度仙门更精彩
只需一步,快速开始
用户组:游客
教程分享 / 原创 / 只看大图 / 倒序浏览 © 著作权归作者本人所有
phptpl.php
<?php include('phptpl.php'); $str_replace_array['{test}'] = '测试'; $str_replace_array['{title}'] = '测试title'; tpl::phptpl_file( "test.html" , $str_replace_array , null , null , $if_exist_array , $section_replace_array , true ); ?>
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>{title}</title> </head> <body> {test} </body> </html>
帖子地址: 分享给好友
写了 246 篇文章,拥有下品灵石 9544 枚,中品灵石 11421 枚,上品灵石 10002 枚,被 4 人关注
使用道具
成为第一个吐槽的人
Copyright © 2018-, Duxian studio.