Ver Mensaje Individual
  #4 (permalink)  
Antiguo 04/12/2009, 00:39
Avatar de chalchis
chalchis
 
Fecha de Ingreso: julio-2003
Mensajes: 1.773
Antigüedad: 20 años, 9 meses
Puntos: 21
Sonrisa Respuesta: A ver si me dan una solucion...

un ejmplo sencillo

http://www.naninet.com.ar/?p=25

Código:
<html>
<head>
	<title>Naninet</title>
</head>
<body>
	<form id="formulario" method="POST" action="mostrar.php" name="formulario">
		<input type="checkbox" id="lenguaje" name="lenguaje[]" value="PHP">PHP<br />
		<input type="checkbox" id="lenguaje" name="lenguaje[]" value="JAVA">JAVA<br />
		<input type="checkbox" id="lenguaje" name="lenguaje[]" value="PYTHON">PYTHON<br /> 
		<input type="submit" name="Enviar" value="Enviar">
	</form>
</body>
</html>
en un archivo mostrar.php
Código:
<?php
foreach ($_POST['lenguaje'] as $individual)
	echo $individual . "<br>";
?>
saludos
__________________
gerardo