Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/03/2009, 15:35
Avatar de argy
argy
 
Fecha de Ingreso: octubre-2007
Ubicación: Longitud 75º Latitud 18º Sur
Mensajes: 614
Antigüedad: 17 años, 4 meses
Puntos: 18
Respuesta: problemas con checkbox

Código :
Ver original
  1. $checar=($dato_que_traes_de_DB==true)?'checked':'';
  2.  
  3. echo '<input type="checkbox"  name="name" '.$checar.' />'
__________________
Software libre para un mundo libre.

Eventualmente en el foro.