#1 sunxch100
SpeedPHP默认的是用tpl或者html扩展名的文件作为模板,我把后缀改为.php的时候,为什么就不能向php文件传递数据了比如
$this->result=$obj->findAll();
$this->display("show.php");
在show.php页面是无法取得$result的值的
但是换成show.tpl的话,就可以了,当然了,shoe.tpl是用smarty的。
2010-09-10 09:50:10
2010-09-10 09:50:10
2010-09-10 12:29:54
2010-09-10 13:46:55