prepare($query); $stmt->bind_param("i", $expenseId); $stmt->execute(); header("Location: expenses.php"); exit();