Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function actionDetail(){
- $SQL="SELECT * FROM tutorial_approved";
- $commands=Yii::app()->db->createCommand($SQL);
- $data=$commands->queryAll();
- $this->render('detail',array('data'=>$data));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement