Main Menu
🛠️
Tools
❓
Questions
📝
Quiz
✍️
Test
🎯
GK
Useful Links
SEARCH
Account
More
How to run custom query in Magento?
Asked: Apr 15, 2023
$db = Mage::getSingleton('core/resource')-
>
getConnection('core_write');
$result=$db-
>
query('SELECT * FROM users where id=4');
Asked by
brijesh
Answers (0)
No answers yet. Be the first to answer!