Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/03/2012, 17:57
Avatar de tecnoanclaCom
tecnoanclaCom
 
Fecha de Ingreso: marzo-2012
Ubicación: Bogota
Mensajes: 5
Antigüedad: 12 años, 2 meses
Puntos: 0
Respuesta: filas e imagenes

a mi me parace que si estas en el foro correcto

yo lo haria de la siguiente forma para que muestro las filas de 5:
<?php
$re1=mysql_query("SELECT * FROM imagen ");

$i = 0;
?>
<table>

<?php while($reg = mysql_fetch_array($re1)){
if($i == 0){
echo "<tr>";
}
?>

echo '<td><img src="'.$reg[''].'" width="450" heigth="450"/></td>';

<?php
if($i == 4){
echo "</tr>";
$i = 0;
}

ojala te sirva yo creo que si funciona........ pruebalo a ver si te funciona

}

?>
</table>