Tengo un problemita cuando aplico el while en mi sistema de noticias en PHP, ya que quiero que se muestren asi en un tabla:
NOTICIA 1 NOTICIA 2 NOTICIA 3
NOTICIA 4 NOTICIA 5 NOTICIA 6
Mi problema consiste en que no se a QUE meterle el bucle para mostrar asi las noticias, hasta ahora logre ponerlas asi:
NOTICIA 1 NOTICIA 2 NOTICIA 3
y nada mas, metiendole el bucle a un TD dentro de una tabla, quedando asi:
Código PHP:
<?
while($noticias = next($rher))
{
?>
<td width="33%" class="body" valign="top"><table width="97%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="89%" class="texto_gris"><?=$noticias['subjudul']?></td>
<td width="11%" rowspan="2" class="taba_borde_noticias_varias"> </td>
</tr>
<tr>
<td class="titulo3"><a href="#" class="titulo3"><?=$noticias['judul']?></a></td>
</tr>
</table></td>
<?
}
?>
Saben como podria hacer ? Saludos !!