'".$bh."' and zt=0")==1){Audit_alert("该服务分类已存在!","servertype1.php?action=update&bh=".$bh);} $oldname1=sqlzhuru($_POST[toldname1]); if(!empty($oldname1)){ updatetable("yjcode_servertype","name1='".sqlzhuru($_POST[t1])."' where name1='".$oldname1."'"); } updatetable("yjcode_servertype","name1='".sqlzhuru($_POST[t1])."',sj='".getsj()."',xh=".sqlzhuru($_POST[t2]).",zt=0 where bh='".$bh."'"); php_toheader("servertype1.php?t=suc&bh=".$bh); } //函数结果 ?>