Hey, anybody help me ? I used this tutorial : http://www.yiiframework.com/wiki/345/how-to-filter-cgridview-with-from-date-and-to-date-datepicker/ to make the way to search by date range. but, I have a trouble, here is the trouble : Parse error: syntax error, unexpected ‘unset’ (T_UNSET), expecting function (T_FUNCTION) . So, please help me thank you