</div> </div> <div class="box-content"> <form class="form-horizontal" action="hostelStudentSavingPage.php" method="GET"> <fieldset> <!-- OBJECT FOR STUDENT & HOSTELS --> <?php $hstObj = new dbHostel(); $stdObj = new dbStudent(); $hostelDetail = $hstObj->getHostelNameFromId($_GET['nHostelId']); $hostelRow = mysqli_fetch_assoc($hostelDetail); extract($hostelRow); $roomDetails = $hstObj->getRoomNameFromId($_GET['nRoomId']); $roomRow = mysqli_fetch_assoc($roomDetails); extract($roomRow); $allStudentData = $stdObj->getAllStudentDatas(); //$allStudent = mysqli_fetch_assoc($allStudentData); //extract($allStudent); ?> <input type = "hidden" name = "nHostelId" value = "<?php echo $_GET['nHostelId']; ?> " /> <input type = "hidden" name = "nRoomId" value = "<?php echo $_GET['nRoomId']; ?> " />