Пример #1
0
?>
                </div>
                <!--Division for the Enrollment info-->
                <div class="well">
                    <h1><font size="5">Enrolment information</font></h1>
                    <div class="table-responsive">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th>Module code</th>
                                <th>Module title</th>
                                <th>Credits</th>
                                <th>Department</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php 
if (isset($_POST['search'])) {
    $id = $_POST['id'];
    getEnInfo($id, $conn);
}
?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

        </div>
    </body>
</html>
Пример #2
0
}
?>

<!DOCTYPE html>
<html>
    <head>
        <title>View all students</title>

        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <link rel="stylesheet" href="css/bootstrap.min.css">
        <link rel="stylesheet" type="text/css" href="css/mystyle.css">

        <script src="js/jquery.min.js"></script>
        <script src="js/bootstrap.min.js"></script>
    </head>

    <body>
        <div class="container">
            <div class="page-header"><h1><font color="white">View all students</font></h1></div>
            <div class="panel panel-primary">
                <!----------------------------------------------->
                <?php 
getEnInfo($conn);
?>
            </div>
        </div>

    </body>
</html>