Ver Mensaje Individual
  #9 (permalink)  
Antiguo 29/06/2012, 20:36
Avatar de rodrigo791
rodrigo791
 
Fecha de Ingreso: noviembre-2009
Ubicación: Uruguay
Mensajes: 1.339
Antigüedad: 15 años, 2 meses
Puntos: 168
Respuesta: ocultar link con if

Podes usar css tambien

Código PHP:
Ver original
  1. <?php
  2.         $estado = $row_Recordset3['estado'];
  3.         if($estado === cerrado){
  4.  
  5.         echo 'style="display: none" <a href="cerrartrata.php?busca=<?php echo $row_Recordset3['idasigtrat']; ?>">mm</a>';
  6.         }
  7.         else
  8.         {
  9.         echo 'style="display: inline" <a href="cerrartrata.php?busca=<?php echo $row_Recordset3['idasigtrat']; ?>">mm</a>';
  10.         }
  11.         ?>