#1 a38237489
controller:class ajaxs extends spController{
function index()
{
$ajaxsresult = "你好呀阿拉德斯基飞机";
$this->outinfo=$ajaxsresult;
}
}
tpl:
index.html
{outinfo}输出
为什么报错?错误
Smarty Error: Syntax Error in template "D:\LEEPHP\HYTTNovel/tpl\ajaxs/index.html" on line 8 "{outinfo}" unknown tag "outinfo"
2011-12-02 11:28:15