<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><?phpsession_start ();if($_SESSION[name]==""){ exit();}include "img/ddddd.php";$ming=$_SESSION[name];$shan=$_GET["num"];echo $shan;$sql=mysql_query("delete from `readuser` where `falsename`='$shan' and `username`='$ming'");if($sql){echo "<script>alert('删除成功');window.history.go(-1);";}?>
------解决方案-------------------- 1、$sql=mysql_query("delete from `readuser` where `falsename`='$shan' and `username`='$ming'"); if($sql){ //这里只表示SQL指令没有错误,并不表示删除成功了