Do you ever encounter this problem
where you feel your code is right and should work yet still you got nothing
Try using the quote string on your comparison
for example
$criteria->addCondition("date(date_created) = \"$yourDate\"");
Like that..
hope you find this helpful
No comments:
Post a Comment