|    
			
				24/03/2004, 16:12
			
			
			  | 
  |   |  |  |  |  Fecha de Ingreso: octubre-2003 Ubicación: Puerto Montt 
						Mensajes: 3.667
					 Antigüedad: 22 años Puntos: 11 |  | 
  |  crea todos los checkbox con un nombre tipo arreglo
 <form name="formu" method="post" action="script.php">
 check uno:<input type="checkbox" name="arreglo[]" value="uno">
 check dos:<input type="checkbox" name="arreglo[]" value="dos">
 check tres:<input type="checkbox" name="arreglo[]" value="tres">
 <input type="submit" name="enviar" value="Enviar">
 </form>
 en el scritp php haces:
 
 if($_POST['arreglo'])
 {
 foreach($_POST['arreglo'] as $dato)
 {
 echo $dato;
 }
 }
 
   Última edición por claudiovega; 24/03/2004 a las 16:15
     |