📅  最后修改于: 2022-03-11 14:54:05.330000             🧑  作者: Mango
function updateMultipile($table, $data = array())
{
$db = DBLink::getInstance();
foreach($data as $id => $update)
{
$sql = "UPDATE ?n SET ?u WHERE location_id = ?i";
$db->query($table,$update,$id);
}
}