Muchisimas gracias ahora si! Una ultima duda en cuanto a otro formulario. Tengo un HTML con 3 checkbox. Quisiera que al apretar el boton "enviar" salga una respuesta diciendo "Los windows que usted ha elegido son tal y tal". En el caso de que se haya elegido uno solo, que diga "El windows que usted ha elegido es tal". Podrian ayudarme? Aqui esta la web. http://www.veterinariaribero.com/PHP/propio.html
propio.html
Cita: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
</head>
<body>
<form action="propio.php" method="get" id="formulario" name="formulario">
Mac OS
<input type="checkbox" name="sistema[]" value="Mac OS" checked="checked"/>
<br />
Windows
<input type="checkbox" name="sistema[]" value="Windows" />
<br />
Apple
<input type="checkbox" name="sistema[]" value="Apple" /><br />
<input type="submit" value="Enviar" name="enviar" id="enviar" />
</form>
</body>
</html>
propio.php
Cita: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
</head>
<body>
Los windows que usted marco fueron <?php foreach ($_GET["sistema"] as $id) {echo "$id ";}?>
</body>
</html>