Hi Mike,
here's the code:
include("var_include.php");
$db = mysql_connect("$gbl_db_hst", "$gbl_db_usr");
if (! mysql_select_db("$gbl_db_nam") )
{
echo "<p>Unable to locate the database at this time.</p>";
exit;
}
$result = mysql_query("select uname, pword, moddate from logins",$db);
print "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">";
print "<tr><td><strong>uname</strong></td><td><strong>pword</strong></td><td><strong>created</strong></td></tr>";
while ($r = mysql_fetch_array($result)) {
extract($r);
print "<tr valign=\"top\"><td>$uname</td><td>$pword</td><td>$moddate</td></tr>";
}
print "</table>";
mysql_close($db);
====================