<ul class="nav navbar-nav navbar-right"> <li class="log-form"><a href="log_out.php" ><span class="glyphicon glyphicon-log-out licon"></span>Log Out</a></li> </ul> </div> </div> </nav> </section> <section> <?php $fname = $lname = $email = $session = $roll = $subject = $pwd = $Email = ""; if ($_SERVER["REQUEST_METHOD"] == 'POST') { if (isset($_POST['show'])) { $result = $user->getUser($id); foreach ($result as $row) { $fname = $row['user_fname']; $lname = $row['user_lname']; $email = $row['user_email']; $session = $row['user_session']; $roll = $row['user_roll']; $subject = $row['user_subject']; } } } ?> <div class="row row-style">