prepare("SELECT id,titre,contenu,date_creation FROM articles WHERE id=?"); $stmt->execute([$id]); $article=$stmt->fetch(); if(!$article){http_response_code(404);exit('404 - Article non trouvé');} ?> <?= htmlspecialchars($article['titre']) ?>

← Retour