<?php
// /admission3333/ajax/get_enrollment_report.php
header('Content-Type: application/json; charset=utf-8');

// إرجاع بيانات تجريبية أولاً
$data = [
    'success' => true,
    'test' => 'This is a test response',
    'student_id' => isset($_GET['student_id']) ? $_GET['student_id'] : 'not_provided',
    'timestamp' => date('Y-m-d H:i:s')
];

echo json_encode($data);
exit;