<?php
// Test if the students/add.php file has valid syntax
echo "Testing syntax of students/add.php\n";

// Try to include the file to check for syntax errors
try {
    include 'students/add.php';
    echo "No syntax errors found\n";
} catch (ParseError $e) {
    echo "Syntax error: " . $e->getMessage() . "\n";
    echo "Line: " . $e->getLine() . "\n";
} catch (Exception $e) {
    echo "Other error: " . $e->getMessage() . "\n";
}
?>