How to run custom query in Magento?

Asked: Apr 15, 2023
  1. $db = Mage::getSingleton('core/resource')->getConnection('core_write');
  2. $result=$db->query('SELECT * FROM users where id=4');
Asked by brijesh

Answers (0)

No answers yet. Be the first to answer!