<?php

require_once "../../../config.php";
require_once "../../../functions.php";
require_once "../../../includes/check_login.php";

header('Content-Type: application/json');

// Check for the 'id' parameter
//if (!isset($_GET['id'])) {
//    echo json_encode(['error' => 'ID missing.']);
//    exit;
//}
