Friday, 6 May 2016
Yii2 slect query in model
$model = Employee::find()
->where(['e_name' => $id,'e_email'=>$email])
->all();
return $model;
[Here Employee is table name]
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment