[Solved] Delete record from table using Checkbox [duplicate]
Change your PHP code as below $del_id = $_POST[‘checkbox’]; $detectinglocations=”your database table name”; foreach($del_id as $value){ $sql = “DELETE FROM “.$detectinglocations.” WHERE id='”.$value.”‘”; $result = mysql_query($sql); } 2 solved Delete record from table using Checkbox [duplicate]