Sunday, November 25, 2012

Add range in YII sql condition

$criteria->addBetweenCondition('expiry_date', ''.$this->date_first.'', ''.$this->date_last.'');

No comments:

Post a Comment