Sunday, May 15, 2022
Google search engine
HomeUncategorizedFind in Yii 1.0

Find in Yii 1.0

Find Command

< ?php $model = User::model()->find(); ? >

Find Command Condition

< ?php $model = User::model->find('userid=1 AND status="A");? >

Find Command condition with params

< ?php $model = User::model()->find('userid=:userId and status=:Status',array(':userId'=>;1,':status'=>'A'));? >

RELATED ARTICLES
- Advertisment -
Google search engine

Most Popular

Recent Comments