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