如何在php中批量删除数据... 选中的新闻是一个数组foreach(选中的新闻 as $id){delect from table where id=$id;} 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 呵呵,其实也可能一个语句搞掂的$id_arr = 所选的ID数组$id_str = implode(",", $id_arr);$sql = "delect from table where id in ($id_str)"; use checkboxs with a same name as "delids[]",then $_POST['delids'] will be an array that contains the ids of news you selected. 如何实现跨域创建和写文件 搜索内容提交到google,百度 php soap求助 通过ajax来呈现的html代码,如何获取? PHP连ORACLE php如何获取从ASP.NET页面传过来的值,并显示 出来 有个1千万用户表,name不会重复的,要不要用limit 1啊? 请问数组如何保存到数据库中?????????? thinkphp 整合 phpexcel,设置表格样式的一个问题 PHP Curl超时了. 实现在同一页面,不刷新,直接回复处理结果? 想问问诸位大虾,关于php读取带密钥的cookie内容的事情
$id_arr = 所选的ID数组
$id_str = implode(",", $id_arr);
$sql = "delect from table where id in ($id_str)";