Delete the data selected by the check box. no matter how much data is selected, there is only one value passed in. what's the problem? & lt; table & nbsp; width = "49%" & nbsp; cellspacing = "1" & nbsp; bgcolor = "#0093C4" & nbsp; id = 'demotabl delete the data selected by the check box. no matter how many data items are selected, only one value is passed in, question
Item Code
SKU
ASIN
Description
Type
Delivery Areas
Account
FNSKU
While ($ row = mysql_fetch_array ($ result, MYSQL_ASSOC )){
?>
"/>
function delClick(){
var val = $('input:checked').val();
window.location.href="sku_change.php?action=del&delivery="+val;
}
Case 'Del ': // delete
$ Id = $ _ GET ["delivery"];
$ SQL = "delete from 'sku _ rule' where id in ($ id )";
$ Result = mysql_query ($ SQL );
If (mysql_affected_rows ($ conn )! = 1 ){
Echo "script alert ('deletion failed! '); Location. href = 'sku _ comparison. php'; script ";
} Else {
Echo "script" alert ('deleted successfully! '); Location. href = 'sku _ comparison. php'; script ";
}
Break;
Delete the data selected by the check box. no matter how much data is selected, there is only one value passed in. Where can I share my questions :????????