fetch page from database with PDO