📅  最后修改于: 2022-03-11 14:53:47.185000             🧑  作者: Mango
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
// Something posted
if (isset($_POST['btnDelete'])) {
// btnDelete
} else {
// Assume btnSubmit
}
}