when i try to do this code
$officemachines = Officemachine::find(array( "conditions"=>"active = :active: AND brands_id IN ({brandsId:array})" , "bind" => array("active" => '1' ,"brandsId" => $arrayBrand), "order" => "exist ASC, priceupdate DESC", ));
i got this error
Scanning error before 'brandsId:array})...' when parsing: SELECT [Officemachine].* FROM [Officemachine] WHERE active = :active: AND brands_id IN ({brandsId:array}) ORDER BY exist ASC, priceupdate DESC (142)