Magento & Yii Solutions
Wednesday, 4 June 2014
How to run custom MySQL Query in Magento?
$db = Mage::getSingleton(‘core/resource’)->getConnection(‘core_write’);
$result = $db->query(‘Select * from Tablename’);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment