Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/05/2009, 07:52
Avatar de By_George
By_George
 
Fecha de Ingreso: abril-2009
Ubicación: localhost
Mensajes: 629
Antigüedad: 15 años
Puntos: 19
Respuesta: No se como hacer para que se muestre en diferentes filas la consulta

tu while debe quedar asi:

Código PHP:
<table id="listanoticias">
<?php
while($rowNot mysql_fetch_array($_pagi_result)){
?>
<tr>
<td rowspan="5"><?php echo "<img src=\"imagenes/".$rowNot['imagen']."\" width=\"120\" height=\"90\" alt=\"Descripcion\" />"?></td>
 <td><?php echo stripslashes($rowNot['titulo']);?></td>
 <td><?php echo "Noticia enviada por: ".$rowNot['email']." Fecha: ".$rowNot['f_alta']; ?></td>
<td><?php echo Recortar(nl2br(stripslashes($rowNot['texto'])),130)." <a href=\"mas.php?not_id=".$rowNot['not_ID']."\" target=\"_blank\">Más...</a>"?></td></tr>
<?php
}
</
table>
__________________
La estadística es una ciencia que demuestra que si mi vecino tiene dos coches y yo ninguno, los dos tenemos uno.