Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/03/2007, 12:01
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 9 meses
Puntos: 2135
Re: problemas con el campo blob

Para hacer el listado necesitas primero un script que te imprima una foto y le pasas el id para que te imprima la foto algo asi:
Código:
<img src="get_imagen.php?idImagen=1" border="0" />
Luego construyes tu tabla y en cada loop llamas a tu script:
Código:
while( $rows ) {
      echo "<tr>";
      echo "<td>" . $row['nombre'] . "</td>";
      echo "<td><img src=\"get_imagen.php?idImagen=" . $row['idImagen'] . "\" /></td>";
      echo "</tr>";
}