title: Detect paragraph in a form
body: <p>How can I detect that there is different paragraphs in a form? In this example if the user writes different paragraphs, the echo puts all toguether. I tried white-space:pre and it did not work. I do not know what else can I do to echo the text with <code>&lt;p&gt;</code>?</p>
  
  <p>CSS:</p>
  
  <pre><code>#text {  
      white-space:pre;
  }
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;form action='normal-html.php' method='post'&gt; 
  &lt;textarea id="text" name='text' rows='15' cols='60'&gt;&lt;/textarea&gt; &lt;br/&gt; 
  &lt;input type='submit' value='Convertir a html' /&gt; 
  &lt;/form&gt; 
  
  &lt;br /&gt;
  
  &lt;?php
  $text = $_POST[text];
  echo $text;
  ?&gt;
  </code></pre>