日期:2014-05-17 浏览次数:20486 次
<html>
<body>
<button type="button" onclick="return check()">
<?
function check()
{
if($name==$_SESSION['username']||$name=="0000")
{
$sql= "DELETE FROM lostMsg WHERE msgID = '$msgID'";
$result= mysql_query($sql1,$conn);
if($result==true)
{
echo"<script>window.alert('删除成功!')</script>";
echo "<script>window.location.href='xunwu_More.php'</script>";
}
}
else
echo"<script>window.alert('你不具备此权限!')</script>";
}
?>
</body>
<html>