Nyhedsscript & hr
Hej derude...jeg har et nyhedsscript liggende men vil gerne have sat et <hr> ind mellem nyhederne... Noen der måske kunne hjælpe med hvor det skal sættes henne???
<?
include "db.inc.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//DA">
<html>
<head>
<title>newssystem</title>
<style>
body{font-family:verdana;font-size:10px;}
td{font-family:verdana;font-size:10px;color:#000000;}'
a{font-family:verdana;color:000000;text-decoration:none;}
a:hover{font-family:verdana;color:000000;text-decoration:none;}
</style>
<style>
a:active{text-decoration:none; color:#000000;}
a:link{text-decoration:none; color:#000000;}
a:visited{text-decoration:none; color:#000000;}
a:hover{text-decoration:none; color:#999999;}
a:scrolling{scrolling; no}
</style>
<STYLE type=text/css><!--
BODY {
scrollbar-base-color: #ffffff;
scrollbar-track-color: #ffffff;
scrollbar-face-color: #79795a;
scrollbar-highlight-color: #ffffff;
scrollbar-3dlight-color: #ffff99;
scrollbar-darkshadow-color: #ffffff;
scrollbar-shadow-color: #ffffff;
scrollbar-arrow-color: #ffff99;
}
--></STYLE>
</head>
<body bgcolor="transparent" topmargin="0">
<center>
<table width="480" height="8" cellspacing="2">
<?
$q1 = mysql_query("SELECT * FROM ******* ORDER BY id DESC");
while ($row = mysql_fetch_array($q1)){
$nyhed_ud = $row[nyhed];
$nyhed_besked = str_replace("\n","<br>",$nyhed_ud);
$nyhed_besked2 = str_replace(":(",":(",$nyhed_besked);
$nyhed_besked3 = str_replace(":'(",":'(",$nyhed_besked2);
$nyhed_besked4 = str_replace(":D",":D",$nyhed_besked3);
$nyhed_besked5 = str_replace(":d",":d",$nyhed_besked4);
$nyhed_besked6 = str_replace("8)","8)",$nyhed_besked5);
$nyhed_besked7 = str_replace(";)",";)",$nyhed_besked6);
$nyhed_besked8 = str_replace(":@",":@",$nyhed_besked7);
$nyhed_besked9 = str_replace(":P",":P",$nyhed_besked8);
$nyhed_besked10 = str_replace(":p",":p",$nyhed_besked9);
$nyhed_besked11 = str_replace(":-/",":-/",$nyhed_besked10);
$nyhed_skriv = str_replace(":)",":)",$nyhed_besked11);
echo "<tr><td background='#' style='padding:0px; height:0;border-top:0px solid #000000;border-left:0px solid #000000;border-right:0px solid #000000;'><table width='100%' cellspacing='0'><tr><td><b>";
echo "" . $row["overskrift"] . "";
echo "</b></td><td align='right'><b>";
echo "" . $row["dato"] . "";
echo "</b></td></tr></table></td></tr><tr><td style='border:0px solid #000000;'>";
echo $nyhed_skriv;
echo "</td></tr><tr><td> </td></tr>";
}
?>
</table>
</center>
</body>
</html>