Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/05/2008, 07:40
Avatar de Squizophrenia
Squizophrenia
 
Fecha de Ingreso: mayo-2008
Ubicación: Barcelona (Spain)
Mensajes: 41
Antigüedad: 16 años, 10 meses
Puntos: 2
Re: Problema con el IF

Prueba así:

Código:
<?php 
if ($row_Recordset1['ficha']!="") { 
echo '<a href="ficha/'.$row_Recordset1['ficha'].'" target="_blank"><img src="http://www.tusitio.com/images/pdf.jpg" width="26" height="29" border="0" /></a>';} 
else { 
echo '<a href="#"><img src="http://www.tusitio.com/images/na.jpg" width="26" height="29" border="0" /></a>';}
?>