![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/03/2008, 14:54
|
![Avatar de Evert](http://static.forosdelweb.com/customavatars/avatar62887_8.gif) | | | Fecha de Ingreso: abril-2004 Ubicación: Cochabamba - Bolivia
Mensajes: 94
Antigüedad: 20 años, 9 meses Puntos: 2 | |
Re: Resultados en columnas hola
si tu pagina esta hecha en PHP puede ser algo asi
<table width="100%" border="1" align="center">
<tr>
<?
$n=10 //numero de registros por columna
$c=1;
while ($row=mysql_fetch_array($res)){
if ($c==1) echo "<td>";
echo "$row[noticia]";
if ($c==$n) {
echo "</td>";
$c=0;
}
$c++;
}
?>
</tr>
</table>
__________________ Es mejor tener la boca cerrada y parecer un tonto ..... que abrirla y confirmarlo!!! |