Created
April 30, 2013 08:51
-
-
Save DrMabuse23/5487476 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//WORKS | |
$criteria = new CDbCriteria(); | |
$criteria->addBetweenCondition('`create`',$this->getLastWeek(),date('Y-m-d H:i:s')); | |
//DOESNT WORKS look at create without ` | |
$criteria = new CDbCriteria(); | |
$criteria->addBetweenCondition('create',$this->getLastWeek(),date('Y-m-d H:i:s')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment