$query = "delete from books where name='$name%'" ;
$result = mysql_db_query("fofoe_chs", $query); -----------
上面两句有错!
请查看相关PHP的资料,如果感兴趣,可以这里看相关资料:http://www.esoftnow.com/bbs/dispbbs.asp?boardID=3&ID=17&page=1
$result = mysql_db_query("fofoe_chs", $query); -----------
上面两句有错!
请查看相关PHP的资料,如果感兴趣,可以这里看相关资料:http://www.esoftnow.com/bbs/dispbbs.asp?boardID=3&ID=17&page=1
改成$query = "delete from books where name='$name'" ;就行了,但还有一错我就不清楚了,在SQL里运行$query = "delete from books where name='$name'" ; 成功了,在页面上还是不能成功,是什么原因呢,可以直接解答吗