getArticle($_GET["id"]); $title = $article->getTitle(); $content = $article->getContent(); $category = $article->getCategory(); $author = $article->getAuthor(); $tags = $article->getTags(); } catch (Exception $e){ $_SESSION["message"] = "internal_error"; echo "Fehler aufgetreten: " . $e->getMessage(); } }else{ $_SESSION["message"] = "article_not_found"; echo "article_not_found"; } ?>