Modified blog.php to read articles from database instead of from an array