prepare($sql); $stmt->bindParam(':id', $notificationID, PDO::PARAM_INT); $stmt->execute(); if ($stmt->rowCount() > 0) { jsonSuccess(null, "Notification data deleted successfully"); } else { jsonError("Failed to delete notification data"); } ?>