 
			
				24/01/2008, 22:39
			
			
			     |  
      |    |    |    Fecha de Ingreso: septiembre-2004  
						Mensajes: 7
					  Antigüedad: 21 años, 1 mes Puntos: 0     |        |  
  |      Re: If dentro de ECHO        creo q no se puede poner un condicional dentro del echo..... pero si lo q kieres es no poner 2 echo.. saca la condicion fuera del echo, le asignas los valores a una variable, y en el echo solo lo q harias es colocarla en lugar del if...    
if($procesado=='P') 
$valor = "<a href=\"../devolucion/fprocesar_devolucion.php?cedula=$cedula\">Aplicar Pago</a></font></td>"; 
else  
$valor = "Aplicar Pago</font></td>";   
echo (" 
<td width=\"400\" height=\"25\" align=\"left\"> 
<p style=\"margin-left: 5px; margin-right: 5px\"> 
<font face=\"Arial\" style=\"font-size: 9pt\" color=\"#666666\">$comentario 
</font></td> 
$valor  
<td width=\"105\" height=\"25\" align=\"left\"> 
<p style=\"margin-left: 5px; margin-right: 5px\"> 
<font face=\"Arial\" style=\"font-size: 9pt\">  
<td width=\"50\" align=\"center\" height=\"25\"> 
<p style=\"margin-left: 5px; margin-right: 5px\"> 
<a href=\"fmodifica.php?id=$id\"> 
<img border=\"0\" src=\"../../images/edit.gif\" width=\"19\" height=\"19\"></a></td>")           |