Running Custom SQL Query in Magento.
As i explained previously that magento works on EAV model so, when ever custom sql query has been executed, It must be checked that the result must be combination of one to more tables. [php] <?php // fetch read database connection that is used in Mage_Core module $read= Mage::getSingleton(‘core/resource’)->getConnection(‘core_read’); $value=$read->query(“SE…”); ...
Recent Comments