prepare(' SELECT `post_id`, `post_title`, `post_text`, `post_published` FROM `fm_blog_posts` WHERE `post_id` = :id AND `post_published` IS NOT NULL AND `post_published` < CURRENT_TIMESTAMP AND `post_deleted` IS NULL '); $getBlogPost->bindValue('id', $postId); $getBlogPost->execute(); $blogPost = $getBlogPost->fetch(PDO::FETCH_OBJ); if (empty($blogPost)) die('Couldn\'t find that post.'); echo html_open() . '' . html_head($blogPost->post_title, HEAD_FLASHWAVE) . '' . html_navigation(NAV_FLASHWAVE) . '
'; ?>

post_title;?>

post_text); foreach ($splitLines as $paragraph) if(!empty($paragraph)) echo '

' . trim($paragraph) . '

'; ?> Posted post_published;?>
' . html_footer() . '' . html_close();