Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/08/2009, 12:41
Avatar de jcxnet
jcxnet
 
Fecha de Ingreso: octubre-2005
Ubicación: Perú
Mensajes: 784
Antigüedad: 18 años, 6 meses
Puntos: 56
Respuesta: Alguien me podria ayudar

esto no es redundante ?:
Código PHP:
if($datos[avatar] == "") { $avatar "" ;} 
porque no intentas con esto:
Código PHP:
<?php if(datos[avatar] == ""):?>
 <img src="noavatar.jpg" width="150" height="150" alt="avatar" />
<?php else:?>
   <img src="<?php echo datos[avatar];?>" width="150" height="150" alt="avatar" />
<?php endif;?>
__________________
►I'm a devil on the run ♂
Jcxnet.com
*Keep It Simple **