标签:
$sql = ‘DELETE O, G FROM ‘ . $GLOBALS[‘ecs‘]->table(‘delivery_order‘) . ‘ AS O, ‘ . $GLOBALS[‘ecs‘]->table(‘delivery_goods‘) . ‘ AS G WHERE O.order_id = \‘‘ . $order_id . ‘\‘ AND O.status = 0 AND O.delivery_id = G.delivery_id‘; $query = $GLOBALS[‘db‘]->query($sql, ‘SILENT‘); if ($query) { $return_res = 1; } return $return_res;
标签:
原文地址:http://www.cnblogs.com/wesky/p/5486352.html