else{if($_GET["action"]=="save"){$account=$_POST["account"];$POINT=$_POST["POINT"];
$sql="UPDATE POINTBONUS0000(account,passwd,state,type) SET POINT=POINT+'$POINT' where ACCOUNT='$account'";
$rs=$conn->query($sql);
//echo $sql;
//$conn->query($sql);
echo "<h1>充值成功!:".$account."</h1>";}
closeDb($conn);
11
11
11
温馨提示:10000文=1锭金子
$sql="UPDATE POINTBONUS0000(account,passwd,state,type) SET POINT=POINT+'$POINT' where ACCOUNT='$account'";
这个SQL不对。应该是:UPDATE POINTBONUS0000 set POINT=POINT+'$POINT' where ACCOUNT='$account'