smarty模板引擎的基本语法 2020/12/3 | 博客 | 评论(0) | 阅读(46) smarty的基本语法 1.smarty的注释:{*content*} 2.smarty输出变量的值 a.当变量是数组或者字符串时,如下输出: 变量的赋值与输出 $smarty->assign('articletitle','文章标题'); {$articletitle}  ...