diff --git a/Controller/ProjectController.php b/Controller/ProjectController.php deleted file mode 100644 index 61cfcd3..0000000 --- a/Controller/ProjectController.php +++ /dev/null @@ -1,52 +0,0 @@ -"; - $model = new ProjectModel(); - $data = $model->readProject(); - - echo "
"; - - - // Display the data in a table format - echo ''; - // Table header - echo ''; - foreach (array_keys($data[0]) as $header) { - echo ''; - } - echo ''; - // Table rows - foreach ($data as $row) { - echo ''; - foreach ($row as $cell) { - echo ''; - } - echo ''; - } - echo '
' . htmlspecialchars($header) . '
' . htmlspecialchars($cell) . '
'; - } - public function addNewMediaType($data): void - { - $model = new ProjectModel(); - $model->insertNewMediaType($data); - } -}