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 width 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?
function delClick(){
var val = $('input:checked').val();
window.location.href="https://www.php1.cn/">
}
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 = "https://www.php1.cn/">} else {
Echo "script" alert ('deleted successfully! '); Location. href = "https://www.php1.cn/">}
Break;
|
Item Code |
SKU |
ASIN |
Description |
Type |
Delivery Areas |
Account |
FNSKU |
While ($ row = mysql_fetch_array ($ result, MYSQL_ASSOC )){?>
|
|
|
|