prepare("DELETE FROM users WHERE id = :id"); $stmt->execute(['id' => $_POST['id']]); } catch(PDOException $e) { handle_pdo_exception($e); } } $con = null; header("Location: manage_user.php"); die; ?>