function submitdelete(){
with(form1){
delete.value="delete";
}
document.form1.submit();
}
อันนี้เป็นโค้ด delete ต้องแก้ไขยังไงคะ ให้ delete
if (isset($_POST['delete'])){
foreach ($_POST['delete'] as $code){
$strDel="Delete from sale_masterl Where Code='$code'";
$rs=mysql_query($strDel);
$rs_row=mysql_num_rows($rs);
}