![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/06/2005, 21:50
|
| | Fecha de Ingreso: abril-2002 Ubicación: las condes
Mensajes: 184
Antigüedad: 22 años, 9 meses Puntos: 1 | |
se me olvidaba el codigo el codigo es el siguente
<?
$conexion = odbc_connect("noticiasfaro","","","");
$rs= odbc_exec($conexion,"select id, titulo, lugar, contenido, tipo, estado from noticias");
while($res = odbc_fetch_array($rs))
echo "
<table width=\"75%\">
<tr>
<td><table width=\"281\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"100%\" bgcolor=\"#666699\" valign=\"top\"> <font color=\"#FFFFFF\" size=\"1\" face=\"Verdana, arial, helvetica, sans-serif\">$res[titulo]</font></td>
</tr>
</table></td>
</tr>
<tr>
<td><font face=\"Verdana\" size=\"1\" color=\"#FFFFFF\">$res[contenido]</font><BR>
<BR> <div align=\"right\"><a href=\"informate.php?id=$res[id]\" class=\"h2\">Más
info...</a></div></td>
</tr>
</table>";
odbc_close_all();
?>
__________________ Juan Pablo Sánchez |