Ikke helt sikker på det her virker
<?php
include('inc.config.php');
$query = mysql_query("SELECT id,date,title,author,text,image,kilde,Count(*) FROM news ORDER BY id DESC LIMIT 5") or die(mysql_error());
while ($row = mysql_fetch_assoc($query)) {
if ($i++ != 0) echo '<div class="hr"></div>';
echo '<h6><a href="news.display.php?id='.$row['id'].'">'.$row['title'].'</a></h6>';
echo empty($row['image']) ? '' : '<img src="files/'.$row['image'].'" class="image">';
echo nl2br($row['text']);
echo '<p><em>'.$row['author'].' - '.$row['date'].' Kilde: <a href="http://'.$row['kilde'].'"target="_blank">'.$row['kilde'].'</p></em>';
echo $row['Count(*)'];
}
?>
-----------------------------------------------------------------------------
Min side ->www.the-hive.dk/~donp/