Jeg har lavet det lidt om:
<?php
include ("connect_db.php");
//Hent oplysninger
$result = mysql_query("SELECT event FROM ts_dates WHERE MONTH(dato) = MONTH(DATE_ADD(CURDATE(),INTERVAL 1 MONTH));");
$antalraekker = mysql_num_rows($result);
//Udskriv events
echo "<table width=\\"150\\" bgcolor=\\"#C2CFDF\\" border=\\"0\\" cellspacing=\\"1\\" callpadding=\\"3\\" align=\\"center\\">";
echo "<td>";
while ($row = mysql_fetch_array($result)) {
echo "<font face=\\"arial, verdana, sans-serif\\" size=\\"1\\">".$row['event']."</font>";
if($antalraekker-- > 1)
echo "<br>";
}
echo "</td>";
echo "</table>";
?>
-------------------------------
Hilsen Jimmi Westeberg
http://www.westsworld.dk