title: Can't get value from textarea in PHP
body: <p>I'm having issues getting the value of text area in PHP (getting undefined).</p>
  
  <p>My code is pretty simple. 
  My HTML is:</p>
  
  <pre><code>&lt;form name="contactform" method="POST" action="submit_form.php"&gt;    
  &lt;input type="text" class="formInput" placeholder="Your Name" id="first_name" maxlength="50" size="20" /&gt;
  &lt;input type="text" class="formInput" placeholder="Email Address" id="email" maxlength="80" size="20" /&gt; 
  &lt;textarea class="formInput" placeholder="Your Message" name="comments" id="comments" maxlength="1400" cols="20" rows="6"&gt;&lt;/textarea&gt;
  &lt;input type="submit" id="SubmitContactForm" class="myButton" value="Submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>My PHP:</p>
  
  <pre><code>echo $_POST['comments'];
  </code></pre>
  
  <p>This results in <code>undefined</code>, no matter what I write inside the textarea. I searched here for some solutions and found some stuff, like adding "name" and "id" and making them both different, adding <code>htmlspecialchars($_POST['comments'])</code> and so on, all of these solutions don't work. I will make a note and say that I can get the other fields values without any problems, just this textarea.</p>
  
  <p>Any ideas what can be the problem?</p>