Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/03/2008, 10:18
Avatar de Superlinux
Superlinux
 
Fecha de Ingreso: octubre-2005
Ubicación: Colombia
Mensajes: 662
Antigüedad: 19 años, 5 meses
Puntos: 1
Pregunta como modifico capturados con checkbox

Hola amigos del foro ... tengo la siguiente inquietud

estoy trabajando con unos datos ingresados a una base de datos mysql --- unos de los datos los capturo atraves de checkbox ... a la misma tambien tengo la parte de modificar los datos del formulario pero no logro poder cargar la informacion que capture con checkbox al igual que modificarla ...

los checkbox que deberian capturar la informacion ya contenidad en la BD son
Código PHP:
<body>
<font color="#000000"> 
<input name="mo" type="checkbox" id="mo" value="<?php if($data->mo == "MO") echo "checked"?>" style="background:#ffffff" onFocus="encender(this)" onBlur="apagar(this)" onKeyPress="return tabular(event,this)">
MO 
<input name="mat" type="checkbox" id="mat" value="MAT" style="background:#ffffff" onFocus="encender(this)" onBlur="apagar(this)" onKeyPress="return tabular(event,this)">
MAT 
<input name="hilos" type="checkbox" id="hilos" value="HILOS" style="background:#ffffff" onFocus="encender(this)" onBlur="apagar(this)" onKeyPress="return tabular(event,this)">
HILOS 
<input name="corte" type="checkbox" id="corte" value="CORTE" style="background:#ffffff" onFocus="encender(this)" onBlur="apagar(this)" onKeyPress="return tabular(event,this)">
CORTE 
<input name="molde" type="checkbox" id="molde" value="MOLDE" style="background:#ffffff" onFocus="encender(this)" onBlur="apagar(this)" onKeyPress="return tabular(event,this)">
MOLDE 
<input name="servadic" type="checkbox" id="servadic" value="SERVADIC" style="background:#ffffff" onFocus="encender(this)" onBlur="apagar(this)" onKeyPress="return tabular(event,this)">
SERV ADIC</font> 
</body>
Como le hago ??

gracias por la ayuda.
__________________
"La vida sigue su curso, tú toma parte de ella."