<!DOCTYPE html>
<html lang ="en">
<head>
<meta charset = "utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="SEIS751 Projct">
<meta name="author" content="Aba Dougan">
<!-- Bootstrap core CSS -->
<link href="http://linux2.gps.stthomas.edu/~doug1324/project/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="https://fonts.googleapis.com/css?family=Playfair+Display" rel="stylesheet">
<link href="http://linux2.gps.stthomas.edu/~doug1324/project/css/style.css" rel="stylesheet">
<link href="http://linux2.gps.stthomas.edu/~doug1324/project/css/sticky-footer.css" rel="stylesheet">
<title>
Aba Dougan Project-display
</title>
<link rel="shortcut icon" href="http://linux2.gps.stthomas.edu/~doug1324/project/img/images.favicon.ico" type="image/x.icon" sizes="50x50"/>
</head>
<body>
<?php
require ("./files/nav.php");
?>
<div class="column" >
<div class="card">
<h2>Features<h2>
<h5>This is page displays the graphics, data visualization, canvas element, JSON, video, audio and many more element</h5>
<P >
Click on each button to see the display
</P>
<div class="row" >
<div class="leftcolumn" >
<?php
require ("./files/nav_more.php");
?>
</div>
<div class="rightcolumn" >
<p >
Database Table Display:
</p>
<div class="container1-fluid w-75 pt-5">
<?php // display.php
try
{
include ("./files/connection.php");
//now output the data to a simple html table...
print "<table border=1>";
print "<tr><td>Id</td><td>Course</td><td>Name</td><td>Grade</td></tr>";
$result = $db->query('SELECT * FROM Class');
foreach($result as $row)
{
print "<tr><td>".$row['Id']."</td>";
print "<td>".$row['Course']."</td>";
print "<td>".$row['Name']."</td>";
print "<td>".$row['Grade']."</td></tr>";
}
print "</table>";
// close the database connection
$db = NULL;
}
catch(PDOException $e)
{
print 'Exception : '.$e->getMessage();
}
?>
<div class="col-sm-4 mx-0 px-0 media" >
</div>
</div>
</div>
</div>
</div>
<canvas></canvas>
<!-- Footer -->
<footer class="footer">
<?php
require ("./files/footernav.php");
?>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js" integrity="sha384-THPy051/pYDQGanwU6poAc/hOdQxjnOEXzbT+OuUAFqNqFjL+4IGLBgCJC3ZOShY" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js" integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB" crossorigin="anonymous"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>
My Web Design & Development
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.