Ver Mensaje Individual
  #4 (permalink)  
Antiguo 17/04/2014, 10:47
Avatar de LosPiojos
LosPiojos
 
Fecha de Ingreso: enero-2013
Ubicación: Avellaneda, Buenos Aires
Mensajes: 77
Antigüedad: 11 años, 2 meses
Puntos: 1
Respuesta: Formulario de contacto con casillas obligatorias

Me autorespondo :)

Así los puse:

Código PHP:
Ver original
  1. <? if(!(empty($_POST['elegir']))){
  2.     foreach($_POST['elegir'] as $elegir){
  3.         echo $elegir."<br>";
  4.     }
  5. } ?>
  6.  
  7.    
  8.    
  9.    <br />
  10.    <br />
  11.    <strong>Rubro</strong><br />
  12.    <input type="radio" name="elegir" value="Comercio minorista">
  13.    Comercio Minorista
  14. <input type="radio" name="elegir" value="Comercio Mayorista">Comercio Mayorista
  15. <input type="radio" name="elegir" value="Servicios">Servicios
  16. <br />
  17. <input type="radio" name="elegir"
  18. value="F&aacute;brica">
  19. F&aacute;brica
  20. <input type="radio" name="elegir"
  21. value="Exportador">Exportador
  22. <input type="radio" name="elegir"
  23. value="Monotributo">Monotributo
  24.   </p>

Y después, para que aparezcan en el mail, agregué:

Código PHP:
Ver original
  1. "<br /><br /> Rubro: ";
  2.     $contenido .= htmlentities($_REQUEST["elegir"]).

Gracias :)