Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/10/2008, 11:16
Pax-Man
 
Fecha de Ingreso: noviembre-2003
Mensajes: 403
Antigüedad: 20 años, 5 meses
Puntos: 4
control de checkbox

tengo este problema... tengo el siguiente codigo..
Código html:
Ver original
  1. <input name="checkbox1" type="checkbox" id="checkbox1" value="checkbox1" /> checkbox1<br />
  2. <input name="checkbox2" type="checkbox" id="checkbox2" value="checkbox2" />
  3. checkbox2<br />
  4. <input name="checkbox3" type="checkbox" id="checkbox3" value="checkbox3" />checkbox2<br />

y es recibida por este codigo
Código php:
Ver original
  1. $checkbox1 = $_POST["checkbox1"];
  2. //Igual para los otros.. exactamente igual solo cambia el 1 por 2 o 3 respectivamente

y me arroja este error

Código:
Notice: Undefined index: checkbox1 in /var/www/systemadatsu/admin/agregar.php on line 3