本文实例讲述了Yii数据读取与跳转参数传递用法。分享给大家供大家参考,具体如下:
$toop=array('id'=>'aaaa','name'=>'bbbb','nickname'=>'ccccc','phone'=>'ddddd','status'=>'eeeeee','mytest'=>$te);
$test='hello world!';
$te=\$this->test='qweqw';
$conn=Yii::app()->db;
$sql=select * from tbl_user;
$command=$conn->createCommand($sql);
$dataR