Hi,
Try this code out:
PHP Code:
<?
$query = ("SELECT * FROM news ORDER BY ID DESC LIMIT 5");
$result = mysql_query($query);
while ($row = mysql_fetch_array($result)) {
print("<br><br><p>");
print("<b><i>posted by</i>");
print("-=[" . $row[author] . "]=-");
print("<u>" . $row[header] . "</u></b>");
print("<font size='2'><i> " . $row[date] . " @" . $row[time]);
print("</i></font><br>");
print($row[content] . " </p>");
print("<br><hr width='85%'>");
}
?>
I added a lot more "print" functions in there but I tried to make it a bit more organized.