ExecuteNoneQuery($query); } } else { $query = "DELETE FROM `#@__myppttype` WHERE id='$tid' "; $dsql->ExecuteNoneQuery($query); } } //增加新记录 if(isset($check_new) && $pname_new!='') { $query = "INSERT INTO `#@__myppttype`(typename) VALUES('{$pname_new}');"; $dsql->ExecuteNoneQuery($query); } header("Content-Type: text/html; charset={$cfg_soft_lang}"); ShowMsg("成功更新幻灯片分类列表!", 'ppttype_main.php'); exit; } include DedeInclude('templets/ppttype_main.htm');