query("DELETE FROM $db_table WHERE id='$id'"); // Suppression
// redirection après suppression
header("location:index.php?nav=".$nav."&msg=2");
}
?>
![](https://www.developpeurexpert.com/wp-content/uploads/2024/02/tunel-de-vente-300x167.jpg)
Accueil » Comment supprimer des données dans une table MYSQL en PHP ?