title: Textarea validation
body: <p>My script is supposed not to let the HTML form be submitted unless a user enters some data into a textarea control. However, the form gets submitted anyway and no message for the user is displayed.
  Could anyone see what I'm doing wrong?</p>
  
  <p>Here is my HTML:</p>
  
  <pre><code>&lt;textarea name="description" id="description" rows = "4" cols = "25"&gt;
      &lt;?php echo $description?&gt;
      &lt;/textarea&gt;
  </code></pre>
  
  <p>As for PHP, neither this:</p>
  
  <pre><code>if ($_POST['description'] == "") {
              $errors .= 'Please enter a description of your invention.&lt;br/&gt;&lt;br/&gt;';
          }
  </code></pre>
  
  <p>or this:</p>
  
  <pre><code>if (empty($_POST['description'])) {
              $errors .= 'Please enter a description of your invention.&lt;br/&gt;&lt;br/&gt;';
          }   
  </code></pre>
  
  <p>work.</p>