Categories
How to apply in CDbCriteria yii AND?
How to make a selection by two parameters is $criteria->condition = 'type = 2'; For example, I also want to add aptype = 1
Answer the question
In order to leave comments, you need to log in
$criteria->condition = 'type = 2 and aptype = 1';
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question