Ver Mensaje Individual
  #7 (permalink)  
Antiguo 23/02/2016, 18:04
Avatar de carlillos
carlillos
 
Fecha de Ingreso: febrero-2007
Ubicación: México
Mensajes: 245
Antigüedad: 17 años, 2 meses
Puntos: 21
Respuesta: como mostrar en un img una ruta de php en mysql

Ya casi lo tienes.
Código PHP:
<figure>
<a href="Modelo/mostrarImagen.php" class="photostack-img">
<?php require 'Modelo/mostarGaleria.php';?>
<img src="<?php echo $fila['imagen']; ?>" alt="img04"/></a>
<figcaption>
<h2 class="photostack-title">Heaven of time</h2>
<div class="photostack-back">
<p>What might be right for you may not be right for some. And we know Flipper lives in a world full of wonder flying there-under under the sea.</p>
</div>
</figcaption>
En el atributo "src" debes definir la url de un archivo de imagen, tú estás definiendo la url de un archivo php.