Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/03/2006, 11:03
Avatar de Seppo
Seppo
 
Fecha de Ingreso: marzo-2005
Ubicación: Buenos Aires, Argentina
Mensajes: 1.284
Antigüedad: 19 años, 1 mes
Puntos: 17
Código PHP:
<?php $result mysql_query("select DATE_FORMAT(fecha,'%d/%m/%y - %H:%i') AS fecha, titular, noticia from tbl_noticia order by fecha desc"); ?>
<table width="80%" bgcolor="#DDDDDD" align=center style="border:2px outset black">
<?php while ($row mysql_fetch_assoc($result)) { ?>
    <tr> 
      <td colspan="3"><div align="left"> <? echo "(".$row['fecha'].") " $row['titular']; ?> </div></td>
    </tr>
    <tr> 
      <td width="5%"></td>
      <td width="83%" bgcolor="#C1FFC1" style="border:1px groove black"><? echo $row['noticia']; ?></td>
      <td width="5%"></td>
    </tr>
<?php ?>
  </table>
Saludos