$q = mysql_query("SELECT * FROM Nyheder ORDER BY dato DESC");
$rstal = 0;
while($b = mysql_fetch_array($q))
{
if($rstal!=date("Y",$b["dato"]))
echo "</ol>".date("Y",$b["dato"])."<hr><ol>";
$rstal = date("Y",$b["dato"]);
echo "<li>".$b["langtitel"];
}
mange tak