Return to Snippet

Revision: 33207
at October 7, 2010 02:39 by aashvi


Initial Code
$write = Mage::getSingleton('core/resource')->getConnection('core_write');
$sql_insert = "insert into table values ('one',0,0)";
$write->query($sql_insert);

Initial URL

                                

Initial Description
run mysql query direct on your magento script

Initial Title
Magento insert query

Initial Tags
query, magento

Initial Language
PHP