prepare("SELECT student_roll, pdf_path FROM learning_style_results"); $stmt->execute(); $results = $stmt->fetchAll(PDO::FETCH_ASSOC); $pdfMap = []; foreach ($results as $row) { $pdfMap[$row['student_roll']] = $row['pdf_path']; } if (file_exists($csvFile)) { if (($handle = fopen($csvFile, "r")) !== FALSE) { $header = fgetcsv($handle); while (($row = fgetcsv($handle)) !== FALSE) { $students[] = [ "roll" => $row[0], "name" => $row[1] ]; } fclose($handle); } } ?>
| Roll No | Student Name | Action |
|---|---|---|
| = htmlspecialchars($s["roll"]) ?> | = htmlspecialchars($s["name"]) ?> |
โ
PDF Generated View PDF Scan OMR |
| No student list found. Please upload CSV to begin. | ||