The newbie is still having troubles heh. Maybe some kind soul can tell 
me what im doing wrong this time. This is the code for a page I am 
working on. When I try to bring up the page in a browser, I just get a white page, 
instead of having the HTML display. Anyone able to tell me why?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    <title>Login Page</title>
$dbhost = "";
$dbuser = "root";
$db = "LoginInfo";

$LoginDB=@mysql_connect($dbhost, $dbuser, $dbpass);
if (! $LoginDB) {
    print "<p>Unable to connect to the database server at this time.</p>";
} else {
if (! @mysql_select_db("GameDB") )
    print "<p>Unable to locate the Game Database.</p>";
<style type="text/css">
    body { color: white; background: black; }
<p align="Center"><img src="Banner.png" width="666" height="103" 
alt="D&D Resource Page" border="0">"</p>
<form name="Login" method="Post" action="<?echo $PHP_SELF?>">
    <p align="Center">
    Login: <input type="text" name="User Name">
    Password: <input type="password" name="Password">
    <input type="submit" name="Submit" value="Submit"



PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to