1234567891011121314151617181920 |
- <main>
- <?php
- if (isset($_SESSION['subjectPanel'])) {
- addChapter("1");
- addChapter("2");
- addChapter("3");
- } else {
- header("location: ../logic/goBack.php");
- }
- function addChapter($name)
- {
- echo '<form action="/teacher/teacher.php" method="POST">
- <input type="submit" value="' . $name . '" name="chapterPanel"></form>';
- }
- ?>
- </main>
|