hi
$day1 = date("m-j-y", strtotime("-7 days"));
$day2 = date("m-j-y", strtotime("-1 days"));
$weekvideos = Videos::find(array(
"adddate BETWEEN :date: AND :date2:",
'category NOT IN (5)',
"bind" => array(
'date' => $day1,
'date2'=> $day2
),
"order" => "RAND()",
"limit" => 52
));
'category NOT IN (5)' does not work and why?