Smarty Error: Syntax Error in template

#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

#2 jake

是 {$outinfo}

2011-12-02 12:43:52

#3 a38237489

:L 刚入手。很多搞来搞去都晕头了

2011-12-02 12:50:37