Dit is de code van de headlines, waarom werkt het niet?
<table style="border: #000 1px solid" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="38"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" background="site_images/titelbalkvooroamenu.jpg"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><strong>Headlines</strong></td>
</tr>
</table></td>
</tr>
<tr>
<td height="18" background="site_images/tabel_achtergrond.jpg"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="18"><div align="justify">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="16%">
<?PHP
ERROR_REPORTING(E_ALL);
$dbh=mysql_connect ("localhost", "voetbal_f1w", "w8woord") or die ("I cannot connect to the database because: ".mysql_error());
mysql_select_db ("voetbal_f1w");
$sql = "SELECT * FROM nieuws";
$resultaat = mysql_query($sql, $dbh);
while($record = mysql_fetch_assoc($resultaat))
$sql = "SELECT DATE_FORMAT(datum_ok,'%d-%m, %H:%i') AS datum_ok2 FROM nieuws";
$resultaat = mysql_query($sql, $dbh);
while($record = mysql_fetch_assoc($resultaat));
echo "".$record["datum_ok2"].""; ?>
</td>
<td width="84%">
<?PHP {echo "<a href=nieuws.php?id=". $record["id"].">".$record["titel"]."</a><br />";} ?>
</td>
</tr>
</table>
</div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>