Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $connection = Mage::getModel('core/resource')->getConnection('core_read');
- $sql = 'SELECT * FROM `sales_flat_order`';
- $orders = $connection->fetchAll($sql);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement