Opstil denne side pænt
jeg vil meget gerne ha at denne side bilver sat pænt op ala denne,http://www.crapmaster.dns2go.com/dvdfilm.php
<?php
include("../include/kontakt_Db.php");
if($_REQUEST['film_id']){
?>
<Center>
<table width="400" height="5%" valign="top" cellpadding="2" cellspacing="0" border="0"><tr>
<td bgcolor="#E7E3DB">Nr</td>
<td bgcolor="#E7E3DB">Titel</td>
<td bgcolor="#E7E3DB">Genre</td>
<td bgcolor="#E7E3DB">År</td>
<td bgcolor="#E7E3DB">Lyd</td>
<td bgcolor="#E7E3DB">Sprog</td>
<td bgcolor="#E7E3DB">Undertekster</td>
<td bgcolor="#E7E3DB">Udlånt</td>
<td bgcolor="#E7E3DB">Omtale</td>
<td bgcolor="#E7E3DB">Skuespillere</td>
</tr>
<tr>
<?php
$query = mysql_query("SELECT * FROM dvdfilm WHERE Id='{$_REQUEST['film_id']}'") or die(mysql_error());
$row = mysql_fetch_array($query);
echo "<td bgcolor=\"#E7E3DB\">{$row['nr']}</td>";
echo "<td bgcolor=\"#E7E3DB\">{$row['titel']}</td>";
echo "<td bgcolor=\"#E7E3DB\">{$row['gener']}</td>";
echo "<td bgcolor=\"#E7E3DB\">{$row['aar']}</td>";
echo "<td bgcolor=\"#E7E3DB\">{$row['lyd']}</td>";
echo "<td bgcolor=\"#E7E3DB\">{$row['sprog']}</td>";
echo "<td bgcolor=\"#E7E3DB\">{$row['undertekster']}</td>";
echo "<td bgcolor=\"#E7E3DB\">{$row['udlaandt']}</td>";
echo "<td bgcolor=\"#E7E3DB\">{$row['omtale']}</td>";
echo "<td bgcolor=\"#E7E3DB\">{$row['skuespiller_1']},{$row['skuespiller_2']},{$row['skuespiller_3']},{$row['skuespiller_4']},{$row['skuespiller_5']}</td>";
echo "</tr><tr height=\"50\"><td colspan=\"10\" align=\"right\" valign=\"bottom\"><a href=\"dvdlisten.php\">Tilbage til listen</a></td>";
}
else{
?>
<Center>
<table width="400" height="5%" valign="top" cellpadding="2" cellspacing="0" border="0"><tr>
<td bgcolor="#E7E3DB" valign="top"><b>Titel</b></td>
<td bgcolor="#E7E3DB" valign="top"><Center><b>Udlånt</b></Center></td>
<?php
$query = mysql_query("select * FROM dvdfilm order by udlaandt desc")or die(mysql_error());
while ($row = mysql_fetch_array($query)) {
echo "<tr>";
echo "<td bgcolor=\"#E7E3DB\"><a href=\"dvdlisten.php?film_id={$row['Id']}\">{$row['titel']}</a></td>";
echo "<td bgcolor=\"#E7E3DB\"><Center>$row[udlaandt]</Center></td>";
}
}
?>
</tr></table></Center>
<?php
mysql_close($conn);
?>