if($_POST['haoping']=="好评"){mysql_query("update user set haoping=haoping+1 where id={$_GET['id']}");echo "<script>alert('好评成功!');</script>";echo("<script>location.href('1.php')</script>");}
if($_POST['chaping']=="差评"){mysql_query("update user set chaping=chaping+1 where id={$_GET['id']}");echo "<script>alert('差评成功!');</script>";echo("<script>location.href('1.php')</script>");}求当差评-好评>10时 点击差评时删除该条信息
我试了好几种办法了 都不行.....求正确代码.