早起的虫儿被鸟吃
$sql ="select * from table where id=$key"; $r=Yii::app()->db->createCommand($sql)->queryAll();
怎么改用bind去实现的?