SyntaxFix
Write A Post
Hire A Developer
Questions
$id = 101; $sql = 'SELECT * FROM ur_tbl t WHERE t.email_id = '. $id; $email = Yii::app()->db->createCommand($sql)->queryAll(); var_dump($email);