<!--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指令没有错误,并不表示删除成功了
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn