title: PHP Contact Form Advice
body: <p>I have built a contact page for my website, and when I test it out, the only thing that appears is the message.  There is no contact information, except for the url of my hosting site.  Any advice on how I could fix this would be greatly appreciated.  Thank you. </p>
  
  <p>Here is the HTML Code:</p>
  
  <pre><code>&lt;form action="contact.php" class="form-style-9" method="post"&gt;
  &lt;ul&gt;
  &lt;li&gt;
  &lt;input type="text" name="first_name" class="field-style field-split align-left" placeholder="First Name" /&gt;
   &lt;input type="text" name="last_name" class="field-style field-split align-right" placeholder="Last Name" /&gt;
  
  
  &lt;/li&gt;
  &lt;li&gt;
  &lt;input type="text" name="phone" class="field-style field-split align-left" placeholder="Phone" /&gt;
  &lt;input type="email" name="email" class="field-style field-split align-right" placeholder="Email" /&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;input type="text" name="subject" class="field-style field-full align-none" placeholder="Subject" /&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;textarea name="message" class="field-style" placeholder="Message"&gt;&lt;/textarea&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;input type="submit" value="Send Message" /&gt;
  &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And here is the PHP code:</p>
  
  <pre><code>&lt;?php
  
   $first_name = $_POST['first_name'];
   $last_name = $_POST['last_name'];
   $phone = $_POST['phone'];
   $email = $_POST['email'];
   $subject = $_POST['subject'];
   $message = $_POST['message'];
  
   $to = "kyle@kylenarovich.com";
   $subject = "New Message";
  
   mail ($to, $subject, $message, "From: " . $first_name . $last_name);
  
  
  echo "Thank you for contacting me. I will be in touch with you very soon."; 
  
  
  
  
  
  ?&gt;
  </code></pre>
  
  <p>Again, any advice and help would be greatly appreciated, as the site is live and if someone contacts me, I have no way to get back to them if they don't put there info in the message.</p>
  
  <p>Thank you very much!!</p>