<h2>Blog</h2> <h1>STAY IN TOUCH</h1> <h3>Read our Legend</h3> </div> </section> <!-- Blogs --> <div class="main-container"> <div class="main wrapper clearfix row"> <article class="column column-9"> <article class="single-article"> <header> <?php if (isset($_POST['submit'])) { $search = $_POST['search']; $database = new Database(); $db = $database->getConection(); $posts = new Posts($db); $stmt = $posts->search($search); while ($row_post = $stmt->fetch_assoc()) { ?> <h1><a href="" title="blog" class="blog-title"><?php echo "{$row_post['post_title']}"; ?> </a></h1> <h2>by: <a href="" title='author' class="author"><?php echo "{$row_post['post_author']}"; ?> </a></h2> <div class="article-info"> <span class="date_created"><i class="fa fa-clock-o"></i> <?php echo "{$row_post['post_date']}";