When I submit my form, not all the information is being sent to my email : <p>I'm relatively new at coding and I've run into an issue. When I submit the filled out data in the form to my email, it won't submit the name or phone number so I essentially see it as a random, authorless message in my inbox. For obvious reasons, I need to capture and send ALL the data from the form to the specified email. I've used up all my knowledge so hopefully someone can help. </p>

<p>TLDR; Form sends an email, but not with ALL the filled out information</p>

<p>Thanks</p>

<p>HTML:</p>

<pre><code>&lt;form id="contact" action="send.php" method="post"&gt;
&lt;fieldset&gt;
  &lt;input placeholder="Your name" type="text" name="name" tabindex="1" autofocus&gt;
&lt;/fieldset&gt;
&lt;fieldset&gt;
  &lt;input placeholder="Your Email Address" type="text" name="email" tabindex="2"&gt;
&lt;/fieldset&gt;
&lt;fieldset&gt;
  &lt;input placeholder="Your Phone Number" type="text" name"phone" tabindex="3"&gt;
&lt;/fieldset&gt;

&lt;fieldset&gt;
  &lt;textarea placeholder="Type your Message Here...." type="text" name="message" tabindex="5"&gt;&lt;/textarea&gt;
&lt;/fieldset&gt;
&lt;fieldset&gt;
  &lt;button name="submit" type="submit" id="contact-submit" data-submit="...Sending"&gt;Submit&lt;/button&gt;
&lt;/fieldset&gt;
</code></pre>

<p></p>

<p>PHP:</p>

<pre><code>    &lt;?php
$from="noreply@email.com";
$email="my email";
$name=$_POST['name'];
$phone=$_POST['phone'];
$subject=$_POST['subject'];
$message=$_POST['message'];

mail ( $email, $subject, $message, "From:".$from);

Print "Thank you! Your message has been sent!"

?&gt;
</code></pre>
