This commit is contained in:
NOrtmann1
2026-05-27 19:20:14 +02:00
parent 485e08e6c6
commit f825537b52
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ if ($_SERVER["REQUEST_METHOD"] === "POST") {
$author = "max.mustermann"; // TODO: später aus Session den angemeldeten Nutzer beziehen.
$tags = $_POST["tags"];
//$articleManager->addArticle($title, $content, $category, $author, $tags);
$articleManager->addArticle($title, $content, $category, $author, $tags);
foreach ($articleManager->getAllArticles() as $article) {
echo htmlspecialchars($article['title'])."<br>";
}