Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/04/2008, 09:18
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Imprir desde MySQL

Si la referencia esta solo en tu tabla MySQL puedes hacer algo así:
Código PHP:
$query "SELECT `imgurl` FROM `imagenes`";
$result mysql_query$query ) or die( mysql_error() );
while( 
$row mysql_fetch_array$result ) ) {
        
printf'<img src="%s" border="0" /><br />'$row['imgurl'] );

Saludos.