hostCMS update пример SQL запроса
Primary tabs
можно так:
$update = Core_QueryBuilder::update('shop_orders')
->columns(array('shop_order_status_id' => $_GET['newstatus']))
->where('siteuser_id', '=', $_GET['userid'])
->where('shop_order_status_id', '=', $_GET['oldstatus'])
->execute();Или можно так: http://fkn.ktu10.com/?q=node/6817
- vedro-compota's blog
- Log in to post comments
- 4459 reads