📅  最后修改于: 2022-03-11 14:53:48.535000             🧑  作者: Mango
if (isset($_GET['del'])) {
$id = $_GET['del'];
mysqli_query($db, "DELETE FROM info WHERE id=$id");
$_SESSION['message'] = "Address deleted!";
header('location: index.php');
}