El código que utilizo para mostrar los artículos es este:
Código PHP:
<?php
include('config.php');
$sql="SELECT * FROM dwp_articles ORDER BY id DESC LIMIT 5";
$resultado=mysql_query($sql, $conectar);
while($fila=mysql_fetch_array($resultado)){
echo '<h1>' . $fila["titulo"] . '</h1><br><table width="75%" border="0">
<tr>
<th scope="col"><div align="left">Fecha: ' . $fila["fecha"] . '</div></th>
</tr>
<tr>
<th scope="col"><div align="left">Autor: ' . $fila["autor"] . '</div></th>
</tr>
<tr>
<th scope="col" height="200"><div align="left">' . $fila["mensaje"] . '</div></th>
</tr>
</table>';
}
?>