<?php
// Check line 52 of the students/add.php file
$content = file_get_contents('students/add.php');
$lines = explode("\n", $content);

echo "Line 52: " . $lines[51] . "\n"; // Line 52 is index 51 (0-based)

// Check for any unclosed braces around this line
$start = max(0, 51 - 10);
$end = min(count($lines), 51 + 10);

echo "Context around line 52:\n";
for ($i = $start; $i < $end; $i++) {
    echo "Line " . ($i + 1) . ": " . $lines[$i] . "\n";
}
?>