Blank side!?
Hej...Min kode driller mig sku stadig :@.
Siden bliver blank..
<?php
@mysql_connect("localhost","****","****")
or die( mysql_error() );
mysql_select_db("****");
$id2 = $_GET['album'];
$res = mysql_query("SELECT * FROM cpg133_albums WHERE AID = $id2") or die(mysql_error());
$row = mysql_fetch_array($res);
$thump = "1";
$thump = $row['thumb'];
echo $thump;
$res2 = mysql_query("SELECT * FROM cpg133_pictures WHERE pid = $thump") or die(mysql_error());
$row = mysql_fetch_array($res2);
$Billedes = "albums/" .$row['filepath'] ."thumb_" .$row['filename'];
$Album = $row['aid'];
$Pid = $row['pid'];
echo mysql_error();
echo "<table align=\"center\" width=\"524\" cellspacing=\"1\" cellpadding=\"0\" class=\"maintable\">
<tr>
<td class=\"tableh1\" colspan=\"1\"><h2>Foreløb.</h2></td>
</tr>
<tr>
<td class=\"tableb\" align=\"center\" height=\"\">
<table width=\"500\" height=\"\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"left\" valign=\"top\" width=\"100\">
<table cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td align=\"center\">
<a href=\"displayimage.php?album=" .$Album; ."?>&cat=0&pos=-" .$Pid; ."\"><img src=\"" .$Billedes; ."\" class=\"image\" width=\"100\" height=\"75\" border=\"0\" alt=\"\" title=\"\"><br /></a>
</td>
</tr>
</table>
</td>
<td align=\"left\" valign=\"top\" style=\"border-left: 1px solid black;\">Teskst 3</td>
</tr>
</table>
</td>
</tr>
</table>
<p><br>";
?>
Er der nogen som kan se fejlen ?
