<?php
$page=intval($_POST['page_id']);
include("conn/conn.php");
// list each 遍历POST数组[提次上来的是复选框id数组值]
while(list($value,$name)=each($_POST))
{
mysql_query("delete from tb_dingdan where id='".$value."'",$conn);
}
header("location:lookdd.php?page=".$page."");
?>
trim()
is_number()
header();
$arraygwc=explode("@",$_SESSION[producelist]);
<script>
function prn(){
document.all.WebBrowser1.ExecWB(7,1);
}
</script>
<input type="button" value="打印预览" class="buttoncss" onClick="prn()">
<input type="button" value="打印" class="buttoncss" onClick="window.print()"></div></td>