Tema: checkbox
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/08/2008, 13:51
Avatar de foreverOdd
foreverOdd
 
Fecha de Ingreso: noviembre-2007
Ubicación: Caracas
Mensajes: 489
Antigüedad: 16 años, 4 meses
Puntos: 14
Respuesta: checkbox

if ($dato == 1)
echo "<input type=\"checkbox\" checked >";
else
echo "<input type=\"checkbox\" >";
__________________
My path is lit by my own fire, I only go where I desire