<?php error_reporting(0);
require("head.php");?>
<?php require("./admin/config.php");
$data = mysql_query("SELECT * FROM stafflist ORDER BY OrderBy");
echo "<center><table border='1'>
<tr>
<th>Name</th>
<th>Rank</th>
</tr>";
while($row = mysql_fetch_array($data))
{
echo "<tr>";
echo "<td>" . $row['Name'] . "</td>";
echo "<td>" . $row['Rank'] . "</td>";
echo "</tr>";
}
echo "</table></center>";
mysql_close($connect);
?>