View Single Post
  #3  
Old 09-25-2004, 04:45 PM
Dane
Unregistered

Posts: n/a

<?
include("settings.php");
$sql = "SELECT * FROM clanname_news ORDER BY news_id DESC";
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result)) {

echo "<br><br>";
echo "<table cellspacing=1 cellpadding=4 border=0 width=90%><tr><td id=outline2><b>".$row['news_title']."</b> - ";
echo $row['news_author']." - ".$row['news_date'];
echo "</td></tr><tr><td id=outline2>";

$body = $row['news_body'];
print(nl2br($body));

echo "</td>
</tr>
</table>";

echo "<br>";
}


?>
Reply With Quote