已采纳回答 / withy老师
YII中可以集成smarty,这样你就可像smarty一样使用变量啦,具体参见:http://blog.csdn.net/xundh/article/details/45850687
2015-08-11
最新回答 / qq_ar珼_0
Call to a member function getOrders() on a non-object首先报错的语句 报的是 getOrders() 这个函数所以你列出的 两个对比语句 并不是问题的关键所在哦~
2015-08-07
最新回答 / uwenhao2008
我找到问题了,粗心把引用的页面给搞错了应该是这个页面里http://localhost:8088/basic/web/index.php?r=hello/index 我用的不是phpstudy,是wampserver
2015-08-05