Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/09/2004, 16:55
Avatar de Genetix
Genetix
 
Fecha de Ingreso: febrero-2002
Ubicación: Lima - Perú
Mensajes: 1.600
Antigüedad: 22 años, 2 meses
Puntos: 45
Hola lasarten
Si es posible hacer
lo harias asi:
Código PHP:
<table width="100">
  <tr>
    <td>Barrio</td>
    <td><?=$row["barrio"]?></td>
  </tr>
  <tr>
    <td>Tipo</td>
    <td><?=$row["tipo"]?></td>
  </tr>
  <tr>
    <td>Foto</td>
    <td><img src="/imagenes/<?=$row["barrio"]?>.jpg"> //la foto sería del mismo nombre que el barrio pero .jpg</td>
  </tr>
</table
Saludos