$session = $_POST['session']; $roll = $_POST['roll']; $subject = $_POST['subject']; } ?> <?php if (!empty($error)) { foreach ($error as $single_error) { $message .= $single_error . "<br>"; } } $user->setFname($fname); $user->setLname($lname); $user->setEmail($email); $user->setSession($session); $user->setRoll($roll); $user->setSubject($subject); if ($user->update($id)) { ?> <script>alert("updated successfully");</script> <?php } ?> <?php require 'header/profile_header.html'; ?> <a class = "navbar-brand" href = "#"> Profile </a> </div>
$roll = $_POST['roll']; $subject = $_POST['subject']; $pwd = MD5($_POST['pwd']); } if (!empty($error)) { foreach ($error as $single_error) { $message .= $single_error . "<br>"; } } $ver = new input(); $ver->setFname($fname); $ver->setLname($lname); $ver->setEmail($email); $ver->setSession($session); $ver->setRoll($roll); $ver->setSubject($subject); $ver->setPassword($pwd); ?> <section> <nav class="navbar navbar-style navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type = "button" class = "navbar-toggle navbar-btn-style" data-toggle = "collapse" data-target = "#navbar-collapse"> <span class="icon-bar ib-color"></span> <span class="icon-bar ib-color"></span> <span class="icon-bar ib-color"></span> <span class="icon-bar ib-color"></span> </button> <a class = "navbar-brand" href = "#"> Registration Form </a> </div> <!--Right Menu-->