这是几个button 这是全选与反转代码$(function(){ $("#checkedAl">
时间:2021-07-01 10:21:17 帮助过:4人阅读
$post){ $pos = strpos($chk,"check"); if(!$pos === false) $ids[] = $post; } if(count($ids) > 1) $id = implode(",",$ids); else $id = implode($ids); $sql = "DELETE FROM [table] WHERE id IN (".$id.")"; $result = mysql_query($sql,$conn); if(!$result) die("SQL: {$sql}
Error: " . mysql_error() ); if(mysql_affected_rows() > 0) echo ""; else echo ""; } ?>