Magento 1 9 Update Table Where Condition

[Solved] Magento 1 9 Update Table Where Condition | Whatever - Code Explorer | yomemimo.com
Question : magento 1.9 update table where condition

Answered by : dangerous-dotterel-f08t52348lpm

$where = [];
$where[] = $write->quoteInto('request_type=?',$request_type);
$where[] = $write->quoteInto('shipping_id =?', $shipping_id);
$where[] = $write->quoteInto('status =?', 0);
$write->update('freeze_requests'	,['status'=>1	,'approved_by'=>$userId	,'approved_on'=>Mage::getModel('core/date')->gmtDate('Y-m-d H:i:s')]	,$where
);

Source : | Last Update : Sun, 07 Jun 20

Answers related to magento 1 9 update table where condition

Code Explorer Popular Question For Whatever