Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/05/2011, 09:37
Avatar de carlos_belisario
carlos_belisario
Colaborador
 
Fecha de Ingreso: abril-2010
Ubicación: Venezuela Maracay Aragua
Mensajes: 3.156
Antigüedad: 14 años
Puntos: 461
Respuesta: Validacion en PHP

creo que te saldria mejor algo asi
Código PHP:
Ver original
  1. <img src="<?php echo $row_recOferta['foto'] != NULL ? $row_recOferta['foto'] : "FotosOfertas/sinfoto.jpg"; ?>"  />
saludos
__________________
aprende d tus errores e incrementa tu conocimientos
it's not a bug, it's an undocumented feature By @David
php the right way