$str = '';
foreach (array_keys($c) as $key) if (!in_array($key,$this -> fields)) $str .= $key." = '$c[$key]',";
$t = "UPDATE game SET ".mb_substr($str,0,-1)." WHERE `id` = '".$c['id']."' AND `type` = '".$c['type']."' LIMIT 1";
$this -> db -> pdo -> query($t);