Kategorien nicht statisch sondern dynamisch #20

Merged
niklas.ortmann merged 21 commits from dynamicCategories into dev 2026-06-03 20:15:16 +02:00
Showing only changes of commit b9c86e2074 - Show all commits
@@ -3,6 +3,7 @@ require_once '../model/LocalArticleManager.php';
require_once '../model/ArticleManager.php';
require_once '../validator/article-validator.php';
echo $_GET["category"];
if (isset($_GET["category"]) && !empty($_GET["category"]) && articleCategoryValidator($_GET["category"])){
$category = $_GET["category"];
echo "<h1>$category</h1>";