formateo a si la consulta a DB:
Código PHP:
while($row = mysql_fetch_array($_pagi_result)){
echo "<table class=Estilo5 cellpadding=2 cellspacing=0 border=thin bordercolor=red ><tr><td>";
echo "<table width=530 border=0 cellpadding=0 cellspacing=0 class=Estilo5><tr bgcolor= #61e877>";
echo "<td width=75% ><b>Titulo: </b>";
echo $row[titulo];
echo "</td>";
echo "<td width=25%><b>De: </b>";
echo $row[user];
echo "</td>";
echo "</tr>";
echo "</table>" ;
echo "<br>";
echo "<table width=530 border=0 cellpadding=0 cellspacing=0 class=Estilo5>";
echo "<tr width=530 bgcolor= #cccccc ><b> Comentario: </b>";
echo $row[comentario];
echo "</tr>";
echo"<tr width=530 bgcolor= #cccccc > </tr>";
echo "</table>";
echo "<table border=0 cellpadding=0 cellspacing=0 class=Estilo5><tr width=550 bgcolor= #c3c3c3>";
$fechita = explode('-',$row['fecha']);
echo "<td width=470><b> Fecha: </b>";
echo "$fechita[2]-$fechita[1]-$fechita[0]";
echo "</td>";
echo "<td width=60 ><div align=left><b> nº: </b>";
echo $row[id];
echo "</div></td>";
echo "</tr>";
echo "</table>" ;
echo "</td></tr></table>" ;
Gracias