这里测试 为什么无法得到$_POST['name']的值------解决方案------------">
时间:2021-07-01 10:21:17 帮助过:43人阅读
Paper Title | Comments | Upload Date | Delete | |
=@$row['paper_title']?> | =@$row['upload_time']?> |
if (isset($_POST['name'])) { $str = explode(",",$_POST['name']); mysql_query("delete from t_paper where paper_title in($str)"); //这里明显有问题,explode()函数返回的是一个数组,SQL语句语法错误了 }