Autor Tema: [Problema] Formulario Envio Email  (Leído 419 veces)

Desconectado Rastrillox

  • PHPero Experto
  • *****
  • Mensajes: 592
  • Karma: 25
  • Sexo: Masculino
    • Ver Perfil
    • Forhabbo.es
[Problema] Formulario Envio Email
« en: 20 de Noviembre de 2009, 18:34:10 pm »
Ps, bien hice un form de vacantes que la informacion me llegue al mail, todo funciona de maravilla, pero el mensaje me llega asi:

Nick: Rastrillox
Email: yunior-125@hotmail.com
Vacente: Reportero
ExperianciaSi:
ExperienciaNo:
Mensaje:


Osea k la experiencia no me llega ni el mensaje, alguien me ayuda a solucionarlo, miren el code

Código: [Seleccionar]
<?php if (!isset($_POST[&#39;email&#39;])) { ?>
<form action="<?=$_SERVER['PHP_SELF']?>" method="post">
<table width="222" height="500" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center"><strong>Nick:</strong></td>
    <td align="center">
<label>
<input name="nick" type="text" class="Boton" id="nick" value="Escriba su nick..." size="22" maxlength="18"  onfocus="this.value=(this.value=='Escriba su nick...') ? '' : this.value;"
onblur="this.value=(this.value=='') ? 'Escriba su nick...' : this.value;"/>
</label> </td>
  </tr>
  <tr>
  <td height="10"></td>
  </tr>
  <tr>
    <td height="24" align="center"><strong>Email:</strong></td>
    <td align="center"><input name="email"  type="text" class="Boton" id="email" size="22" maxlength="32"  onfocus="this.value=(this.value=='Escriba su Email...') ? '' : this.value;"
onblur="this.value=(this.value=='') ? 'Escriba su email...' : this.value;"/></td>
  </tr>
    <tr>
  <td height="10"></td>
  </tr>
  <tr>
    <td align="center"><strong>Vacantes:</strong></td>
    <td align="center"><label>
      <select name="select">
        <option>Reporteros</option>
        <option>Seccioneros</option>
        <option>Moderador</option>
        <option>Moderador Foro</option>
        <option>Dj's</option>
      </select>
    </label></td>
  </tr>
    <tr>
  <td height="10"></td>
  </tr>
  <tr>
    <td align="center"> <strong>Experiencia:</strong> </td>
    <td align="center"><strong>Si
      <label>
      <input type="checkbox" id="si" name="checkbox" value="checkbox" />
      </label>
    </strong></td>
  </tr>
    <tr>
  <td>&nbsp;</td>
   <td align="center"><strong>No
     <label>
     <input type="checkbox" id="no" name="checkbox2" value="checkbox" />
     </label>
   </strong></td>
  </tr>
  <tr>
    <td height="60" align="center"><strong>Raz&oacute;n:</strong></td>
    <td align="center"><label>
      <textarea name="textarea" id="mensaje"></textarea>
    </label>
      <p>
        <label>
        <input type="submit" name="OK" id="OK" value="Entrar" class="Boton" />
        </label>
      </p></td>
  </tr>
  <tr>
  <td align="center"></td>
  <td align="center"></td>
  </tr>
</table>
</form>
<?php }else{  
 
$msg"";  
$msg"Mensaje del formulario de solicitudes";  
$msg.= "\nNick: "$_POST[&#39;nick&#39;];  
$msg.= "\nEmail: ".$_POST[&#39;email&#39;];  
$msg.= "\nVacante: "$_POST[&#39;select&#39;];
$msg.= "\nExperienciaSi: "$_POST[&#39;si&#39;]; 
$msg.= "\nExperienciaSi: "$_POST[&#39;no&#39;];   
$msg.= "\nMensaje: \n".$_POST[&#39;mensaje&#39;];  
$remitente $_POST[&#39;email&#39;];  
$subject "Mensaje del formulario de solicitudes por: ".$_POST[&#39;nombre&#39;];  
mail(&#39;solicitudes@habbonline.es&#39;, $subject, $msg, "FROM: $remitente");  
  
?>
 

   
<p><strong>Mensaje enviado.</strong><br /> 
 Su mensaje se ha enviado correctamente, gracias por ponerse en contacto con nosotros</p> 
<? } ?>


Ayuden!!!, Se Da karma

Comunidad PHPeros

[Problema] Formulario Envio Email
« en: 20 de Noviembre de 2009, 18:34:10 pm »

Desconectado westwest

  • PHPero Master
  • ******
  • Mensajes: 2.837
  • Karma: 104
  • Sexo: Masculino
    • Ver Perfil
Re:[Problema] Formulario Envio Email
« Respuesta #1 en: 20 de Noviembre de 2009, 19:50:33 pm »
A ver, el tema del mensaje es k de name le has puesto "textarea" en lugar de "mensaje"

Desconectado Rastrillox

  • PHPero Experto
  • *****
  • Mensajes: 592
  • Karma: 25
  • Sexo: Masculino
    • Ver Perfil
    • Forhabbo.es
Re:[Problema] Formulario Envio Email
« Respuesta #2 en: 20 de Noviembre de 2009, 23:40:07 pm »
Oh si que *****o fui xD!!!, gracias