Advertisement
zulmi

detai_like

Dec 16th, 2017
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1.     public function actionDetail(){
  2.         $SQL="SELECT * FROM tutorial_approved";
  3.         $commands=Yii::app()->db->createCommand($SQL);
  4.         $data=$commands->queryAll();
  5.         $this->render('detail',array('data'=>$data));
  6.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement