thinkphp中$this->b=$b;什么意思啊?以下是完整的代码,越详细越好,新手急等,谢谢
publicfunctionindex(){$a=M('xx_news')->order('uiddesc');$b=$a->select();$this->b=$b;$...
public function index(){
$a=M('xx_news')->order('uid desc');
$b=$a->select();
$this->b=$b;
$this->display();
} 展开
$a=M('xx_news')->order('uid desc');
$b=$a->select();
$this->b=$b;
$this->display();
} 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询