title: Sending via email info from a contact form with PHP
body: <p>Firstly I would like to say I'm just a very newbie in php.</p>
  
  <p>I have this simple php and as it is at the moment, when it sends the info it appears a horrible "Ok" message. </p>
  
  <p>could you help me improving this php with:
  -better code (is it ok? could it be better?)
  -I would like to add a fancier answer (like in a box or something similar) in order to advice the user that his message has been sended. </p>
  
  <p>Another thing is I am not sure this is working. I have xampp installed and locally it is not working. I also tried completing the form with all the files uploaded to the server and I´m still waiting for em....the miracle of the mail arriving to my inbox? =S Maybe I did something wrong?</p>
  
  <pre><code>&lt;?php
  if(isset($_POST["nombre"]) &amp;&amp; isset($_POST["email"]) &amp;&amp; isset($_POST["consulta"])){
  $mymail = "myemail@gmail.com";
  $subject = "Consulta";
  $contenido = ":: Nombre: ". $_POST["nombre"]."\n";
  $contenido .= ":: E-mail: ". $_POST["email"]."\n";
  $contenido .= ":: Escribiò el siguiente mensaje: ". $_POST["consulta"]."\n";
  
  $header = "From:".$_POST["email"]."\n"; 
  
  mail($mymail, $subject, utf8_decode($contenido));*/
  echo "&amp;estatus=ok&amp;";
  }?&gt;
  </code></pre>
  
  <p>Thanks in advance for your help! 
  regards,</p>