I trying to get output from collection using 'where' filter but no result. This is my code:
$collection = Mage::getModel('my_work/datanews')
->getCollection()
->getSelect()
->where('menu_id = ?', '1');
foreach ($collection as $item) {
echo $item->getData('collection');
}
What are the problems?