hoi
ok, hier gaat het mis: http://mm2heaven.saburovo.com/tracks/Tracks.php ik heb een eerste cel met een tabel daarin, dat werkt allemaal prima, maar als ik er nog een cel met eet tabel in bijzet krijg ik dit: http://mm2heaven.saburovo.com/Tracks.php . PLz help
hier is de source: <tr>
<td height="217" bgcolor="#FF9933" style="border: 1 solid #000000; margin-top: 5; margin-bottom: 5" align="center"><div align="center">
<table border="0" cellspacing="0" valign="center" align="center" style="margin-top: 5; margin-bottom: 5"><div align="center">
<table border="0" cellspacing="0" valign="center" align="center" style="margin-top: 5; margin-bottom: 5">
<? $connect = mysql_connect("localhost", "", "");
mysql_select_db("", $connect);
$result = mysql_query("SELECT * FROM tracks ORDER BY track_id DESC");
while ($record = mysql_fetch_array($result)) {
$description = $record["description"];
$name = $record["name"];
$size = $record["size"];
$creator = $record["creator"];
$file = $record["file"];
$downloads = $record["downloads"];
$user = $record["user"];
$rating = $record["rating"];
$sizeInmb = round($size/1000000, 2);
$linky ="track.php?file=$file";
$link = "$baselink$linky";
echo" <tr> <td style=\"font-size: 10 pt; border: 1 solid #000000; margin-top: 5; margin-bottom: 5\" align=\"center\" colspan=\"4\" width=\"414\" bgcolor=\"#FF6600\">
<p align=\"center\" style=\"margin-top: 3; margin-bottom: 3\"><font size=\"2\" face=\"Times New Roman\"><a href=\"$link\">$name </a></font></p></td>
</tr>
<tr>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000\" align=\"center\" bgcolor=\"#FF6600\" width=\"81\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b>Downloads:</b> </font></p>
</td>
<td style=\"font-size: 10 pt; border-bottom: 1 solid #000000\" align=\"center\" width=\"148\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $downloads </font></p>
</td>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" width=\"99\" align=\"center\" bgcolor=\"#FF6600\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b>Size:</b>
</font></p>
</td>
<td style=\"font-size: 10 pt; border-bottom: 1 solid #000000; border-right: 1 solid #000000\" align=\"center\" width=\"76\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $sizeInmb mb</font></p>
</td>
</tr>
<tr>
<td style=\"font-size: 10 pt; border: 1 solid #000000\" align=\"center\" bgcolor=\"#FF6600\" width=\"81\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b> By:</b>
</font></p>
</td>
<td style=\"font-size: 10 pt; border-bottom: 1 solid #000000\" align=\"center\" width=\"148\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $creator</font>
</td>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" width=\"99\" align=\"center\" bgcolor=\"#FF6600\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b>Rating:</b> </font></p>
</td>
<td style=\"font-size: 10 pt; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" align=\"center\" width=\"76\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $rating<b>/10</b></font></p>
</td>
</tr>
<tr>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" align=\"center\" colspan=\"4\" width=\"412\"><font size=\"2\" face=\"Times New Roman\">$description</font></td>
</tr></p><tr><td style=\"font-size: 10 pt; \" colspan=\"4\" ></td></tr>";
}
?> </table>
</div>
</table>
</div>
</td>
</tr>
<tr>
<td width="439" height="6" bgcolor="#FF6600" style="border-left: 1 solid #000000; border-right: 1 solid #000000; border-top: 1 solid #000000" align="center">
<b><font face="Times New Roman" size="3">Cities:</font></b>
</td>
</tr>
<tr>
<td height="217" bgcolor="#FF9933" style="border: 1 solid #000000; margin-top: 5; margin-bottom: 5" align="center"><div align="center">
<table border="0" cellspacing="0" valign="center" align="center" style="margin-top: 5; margin-bottom: 5"><div align="center">
<table border="0" cellspacing="0" valign="center" align="center" style="margin-top: 5; margin-bottom: 5">
<?
$result = mysql_query("SELECT * FROM tracks WHERE category = 'Mod' ORDER BY track_id DESC") or die(mysql_error());
while ($record = mysql_fetch_array($result)) {
$description = $record["description"];
$name = $record["name"];
$size = $record["size"];
$creator = $record["creator"];
$file = $record["file"];
$downloads = $record["downloads"];
$user = $record["user"];
$rating = $record["rating"];
$sizeInmb = round($size/1000000, 2);
$linky ="track.php?file=$file";
$link = "$baselink$linky";
echo" <tr> <td style=\"font-size: 10 pt; border: 1 solid #000000; margin-top: 5; margin-bottom: 5\" align=\"center\" colspan=\"4\" width=\"414\" bgcolor=\"#FF6600\">
<p align=\"center\" style=\"margin-top: 3; margin-bottom: 3\"><font size=\"2\" face=\"Times New Roman\"><a href=\"$link\">$name </a></font></p></td>
</tr>
<tr>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000\" align=\"center\" bgcolor=\"#FF6600\" width=\"81\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b>Downloads:</b> </font></p>
</td>
<td style=\"font-size: 10 pt; border-bottom: 1 solid #000000\" align=\"center\" width=\"148\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $downloads </font></p>
</td>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" width=\"99\" align=\"center\" bgcolor=\"#FF6600\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b>Size:</b>
</font></p>
</td>
<td style=\"font-size: 10 pt; border-bottom: 1 solid #000000; border-right: 1 solid #000000\" align=\"center\" width=\"76\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $sizeInmb mb</font></p>
</td>
</tr>
<tr>
<td style=\"font-size: 10 pt; border: 1 solid #000000\" align=\"center\" bgcolor=\"#FF6600\" width=\"81\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b> By:</b>
</font></p>
</td>
<td style=\"font-size: 10 pt; border-bottom: 1 solid #000000\" align=\"center\" width=\"148\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $creator</font>
</td>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" width=\"99\" align=\"center\" bgcolor=\"#FF6600\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b>Rating:</b> </font></p>
</td>
<td style=\"font-size: 10 pt; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" align=\"center\" width=\"76\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $rating<b>/10</b></font></p>
</td>
</tr>
<tr>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" align=\"center\" colspan=\"4\" width=\"412\"><font size=\"2\" face=\"Times New Roman\">$description</font></td>
</tr></p><tr><td style=\"font-size: 10 pt; \" colspan=\"4\" ></td></tr>";
}
?>
</table>
</div>
</table>
</div>
</td>
</tr>
<tr>
<td width="439" height="1" bgcolor="#FF6600" valign="top" bordercolor="#000000" style="border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000; margin-left: 4; margin-right: 0" align="center"><a href="mailto:krekelmaster@yahoo.com"><font face="Times New Roman" size="3">Submit
a track</font></a></td>
</tr>
ok, hier gaat het mis: http://mm2heaven.saburovo.com/tracks/Tracks.php ik heb een eerste cel met een tabel daarin, dat werkt allemaal prima, maar als ik er nog een cel met eet tabel in bijzet krijg ik dit: http://mm2heaven.saburovo.com/Tracks.php . PLz help
hier is de source: <tr>
<td height="217" bgcolor="#FF9933" style="border: 1 solid #000000; margin-top: 5; margin-bottom: 5" align="center"><div align="center">
<table border="0" cellspacing="0" valign="center" align="center" style="margin-top: 5; margin-bottom: 5"><div align="center">
<table border="0" cellspacing="0" valign="center" align="center" style="margin-top: 5; margin-bottom: 5">
<? $connect = mysql_connect("localhost", "", "");
mysql_select_db("", $connect);
$result = mysql_query("SELECT * FROM tracks ORDER BY track_id DESC");
while ($record = mysql_fetch_array($result)) {
$description = $record["description"];
$name = $record["name"];
$size = $record["size"];
$creator = $record["creator"];
$file = $record["file"];
$downloads = $record["downloads"];
$user = $record["user"];
$rating = $record["rating"];
$sizeInmb = round($size/1000000, 2);
$linky ="track.php?file=$file";
$link = "$baselink$linky";
echo" <tr> <td style=\"font-size: 10 pt; border: 1 solid #000000; margin-top: 5; margin-bottom: 5\" align=\"center\" colspan=\"4\" width=\"414\" bgcolor=\"#FF6600\">
<p align=\"center\" style=\"margin-top: 3; margin-bottom: 3\"><font size=\"2\" face=\"Times New Roman\"><a href=\"$link\">$name </a></font></p></td>
</tr>
<tr>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000\" align=\"center\" bgcolor=\"#FF6600\" width=\"81\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b>Downloads:</b> </font></p>
</td>
<td style=\"font-size: 10 pt; border-bottom: 1 solid #000000\" align=\"center\" width=\"148\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $downloads </font></p>
</td>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" width=\"99\" align=\"center\" bgcolor=\"#FF6600\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b>Size:</b>
</font></p>
</td>
<td style=\"font-size: 10 pt; border-bottom: 1 solid #000000; border-right: 1 solid #000000\" align=\"center\" width=\"76\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $sizeInmb mb</font></p>
</td>
</tr>
<tr>
<td style=\"font-size: 10 pt; border: 1 solid #000000\" align=\"center\" bgcolor=\"#FF6600\" width=\"81\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b> By:</b>
</font></p>
</td>
<td style=\"font-size: 10 pt; border-bottom: 1 solid #000000\" align=\"center\" width=\"148\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $creator</font>
</td>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" width=\"99\" align=\"center\" bgcolor=\"#FF6600\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b>Rating:</b> </font></p>
</td>
<td style=\"font-size: 10 pt; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" align=\"center\" width=\"76\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $rating<b>/10</b></font></p>
</td>
</tr>
<tr>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" align=\"center\" colspan=\"4\" width=\"412\"><font size=\"2\" face=\"Times New Roman\">$description</font></td>
</tr></p><tr><td style=\"font-size: 10 pt; \" colspan=\"4\" ></td></tr>";
}
?> </table>
</div>
</table>
</div>
</td>
</tr>
<tr>
<td width="439" height="6" bgcolor="#FF6600" style="border-left: 1 solid #000000; border-right: 1 solid #000000; border-top: 1 solid #000000" align="center">
<b><font face="Times New Roman" size="3">Cities:</font></b>
</td>
</tr>
<tr>
<td height="217" bgcolor="#FF9933" style="border: 1 solid #000000; margin-top: 5; margin-bottom: 5" align="center"><div align="center">
<table border="0" cellspacing="0" valign="center" align="center" style="margin-top: 5; margin-bottom: 5"><div align="center">
<table border="0" cellspacing="0" valign="center" align="center" style="margin-top: 5; margin-bottom: 5">
<?
$result = mysql_query("SELECT * FROM tracks WHERE category = 'Mod' ORDER BY track_id DESC") or die(mysql_error());
while ($record = mysql_fetch_array($result)) {
$description = $record["description"];
$name = $record["name"];
$size = $record["size"];
$creator = $record["creator"];
$file = $record["file"];
$downloads = $record["downloads"];
$user = $record["user"];
$rating = $record["rating"];
$sizeInmb = round($size/1000000, 2);
$linky ="track.php?file=$file";
$link = "$baselink$linky";
echo" <tr> <td style=\"font-size: 10 pt; border: 1 solid #000000; margin-top: 5; margin-bottom: 5\" align=\"center\" colspan=\"4\" width=\"414\" bgcolor=\"#FF6600\">
<p align=\"center\" style=\"margin-top: 3; margin-bottom: 3\"><font size=\"2\" face=\"Times New Roman\"><a href=\"$link\">$name </a></font></p></td>
</tr>
<tr>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000\" align=\"center\" bgcolor=\"#FF6600\" width=\"81\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b>Downloads:</b> </font></p>
</td>
<td style=\"font-size: 10 pt; border-bottom: 1 solid #000000\" align=\"center\" width=\"148\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $downloads </font></p>
</td>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" width=\"99\" align=\"center\" bgcolor=\"#FF6600\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b>Size:</b>
</font></p>
</td>
<td style=\"font-size: 10 pt; border-bottom: 1 solid #000000; border-right: 1 solid #000000\" align=\"center\" width=\"76\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $sizeInmb mb</font></p>
</td>
</tr>
<tr>
<td style=\"font-size: 10 pt; border: 1 solid #000000\" align=\"center\" bgcolor=\"#FF6600\" width=\"81\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b> By:</b>
</font></p>
</td>
<td style=\"font-size: 10 pt; border-bottom: 1 solid #000000\" align=\"center\" width=\"148\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $creator</font>
</td>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" width=\"99\" align=\"center\" bgcolor=\"#FF6600\">
<p align=\"right\"><font size=\"2\" face=\"Times New Roman\"><b>Rating:</b> </font></p>
</td>
<td style=\"font-size: 10 pt; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" align=\"center\" width=\"76\">
<p align=\"left\"><font size=\"2\" face=\"Times New Roman\"> $rating<b>/10</b></font></p>
</td>
</tr>
<tr>
<td style=\"font-size: 10 pt; border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000\" align=\"center\" colspan=\"4\" width=\"412\"><font size=\"2\" face=\"Times New Roman\">$description</font></td>
</tr></p><tr><td style=\"font-size: 10 pt; \" colspan=\"4\" ></td></tr>";
}
?>
</table>
</div>
</table>
</div>
</td>
</tr>
<tr>
<td width="439" height="1" bgcolor="#FF6600" valign="top" bordercolor="#000000" style="border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000; margin-left: 4; margin-right: 0" align="center"><a href="mailto:krekelmaster@yahoo.com"><font face="Times New Roman" size="3">Submit
a track</font></a></td>
</tr>