= date('F j, Y', strtotime($post['created_at'])) ?>
= htmlspecialchars($post['title']) ?>
= htmlspecialchars($post['summary']) ?>
= $post['content'] ?>
prepare("SELECT * FROM posts WHERE slug = ?"); $stmt->execute([$slug]); $post = $stmt->fetch(); if (!$post) { header("Location: index.php"); exit; } $projectName = $_SERVER['PROJECT_NAME'] ?? 'Our Blog'; ?>
= htmlspecialchars($post['summary']) ?>