I tried with the title. anyways back to my problem.
I have the following code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>SNPVC - Save and Play Vice City</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body>
<?php
include ('includes/header.php');
include ('includes/banned.php');
if(($row['banned'])==yes) {
echo "<center>You are banned for the following reason: <br>$reason</center>";
}else{
include ('includes/menu.php');
include ('includes/stats.php');
?>
<div id="Layer5" style="position:absolute; width:635px; height:278px; z-index:4; left: 115px; top: 135px; overflow: scroll;">
<div align="center">
<p> </p>
<table><td> </td><td><table width="611" border="1">
<tr>
<th scope="col"><b>File Name</b></th>
<th scope="col"><b>Board Username</b> </th>
<th scope="col"><b>Description</b></th>
<th scope="col"><b>Reviewed?</b></th>
<th scope="col"><b>Download</b></th>
<th scope="col"><b>Upload Finished</b></th>
<th scope="col"><b>Finished File</b></th>
</tr>
</td>
<?php
$result = mysql_query("SELECT * FROM `snpvc`") or die ("MySQL error: " . mysql_error());
while ($row=mysql_fetch_assoc($result)) {
$id=$row['id'];
$filename=$row['filename'];
$username=$row['username'];
$des=$row['description'];
$date=$row['datetime'];
$review=$row['review'];
$finished=$row['finished'];
$fname=$row['fname'];
echo "<tr>
<td>$filename</td>
<td>$username</td>
<td>$des</td>
<td>$review</td>
<td><a href=\"download.php?id=$id\">Download</a></td>
<td><a href=\"uploadfinished.php?id=$id\">Upload Finished</a></td>";
if(($finished)==yes) {
echo "<td><a href=\"$sitename/cfiles/$filename\">Download Finished</a></td>";
}else{
echo "<td>Download Finished</td>
</tr>";
}?>
</table>
</div>
</div>
</body>
</html>
<?php
}
}
?>
And when I run that code, what i had planned is nice little tables with that information in it. like on this page
www.snpvc.afraid.org/view.php
but what happens is this
http://www.snpvc.afraid.org/images/problem.png (207 kbs)
so using the code above can you fix that error? thanks in advanced