Ver Mensaje Individual
  #8 (permalink)  
Antiguo 19/04/2010, 14:53
etisdemian
 
Fecha de Ingreso: octubre-2009
Mensajes: 357
Antigüedad: 14 años, 6 meses
Puntos: 1
Respuesta: 1=(mezclar divs y tablas) 2=(imagen por defecto)

este deveria ser el resultado..pero...no
Código HTML:
Ver original
  1. <?php
  2.      $path_imagen='../prd/<?php echo $row[0];?>';
  3.      $nopath='<img src ="../prd/header_r1_c1.jpg" width="120" height="125">';
  4.      if (file_exists($path_imagen)){
  5. echo '<img src ="$path_imagen" width="120" height="125">';
  6. } else {
  7. echo $nopath;
  8. }  
  9. ?>