Its my first time using CSS with PHP, I am just working on this page bit by bit to make sure it works. But whenever I upload the document to my site the next gets covered with black lines so you can’t see what the text is supposed to say.
http://www.cnghl.org/cnghldb/test.php?PlayerID=5793
The problem seems to be happening where it the [FirstName] is.
Here is the php
[php]
Untitled Document <?php // Connects to your Database mysql_connect("", "", "") or die(mysql_error()); mysql_select_db("") or die(mysql_error());//Get PlayerID from URL
$iPlayerID = $_GET[“PlayerID”];
$iNationID = $_GET[“NationID”];
$oPlayerInfo = mysql_query("
SELECT Players.PlayerID, Players.FirstName, Players.LastName
FROM Players;
") or die(mysql_error());
ECHO “”;
ECHO “
while($row = mysql_fetch_array($oPlayerInfo)) {
ECHO “
}
ECHO “
ECHO “”;
?>
[/php]Here is the css
@charset "utf-8";
.container {
float: left;
height: 600px;
width: 1200px;
position: absolute;
left: auto;
top: auto;
right: auto;
bottom: auto;
}
.nametitle {
float: left;
height: 63px;
width: 669px;
position: absolute;
left: 490px;
top: 31px;
right: auto;
bottom: auto;
}