/ Published in: PHP
run mysql query direct on your magento script
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$write = Mage::getSingleton('core/resource')->getConnection('core_write'); $sql_insert = "insert into table values ('one',0,0)"; $write->query($sql_insert);