<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Malboro Guestbook</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php include("dbconnect.php");?>
<form action = "addentry.php" method = "post">
<br>
Username: <input type = "text" name = "myUser">
<br><br>
Password: <input type = "text" name = "myPass">
<br><br>
<input type = "submit" name = "submit" value = "Add User">
</form>
<br><br><br>
<?php
$sd = mysql_select_db("MIS", $conn)
or die ("Could Not Select DB" . mysql_error());
$tableaccess = "select muser, mpass, mlevel from portalguard";
$sb = mysql_query($tableaccess, $conn);
while ($row = mysql_fetch_array ($sb))
{
echo("<b>username:</b> ". $row['muser']);
echo("<BR>");
echo("<b>Password: </b>". $row['mpass']);
echo("<BR>");
echo("<b>level: </b>". $row['mlevel']);
echo("<hr>");
echo("<BR>");
}
?>
<br><br><br><br>
</body>
</html>