title: insert newline character into string in php as a delimiter
body: <p>I have a form on the front end with two text areas separated by a hidden input, like so: </p>
  
  <pre><code>&lt;textarea name="top"&gt;
  blah 
  blah 
  &lt;/textarea&gt;
  &lt;input type="hidden" name="foo" value="some string" /&gt;
  &lt;textarea name="bottom"&gt; 
  blah 
  blah 
  &lt;/textarea&gt;
  </code></pre>
  
  <p>When I get this form on the serverside, I want to concat a newline character before and after the hidden input to like so: </p>
  
  <pre><code>$text = $_Post['top'] . "\n" . $_Post['foo'] . "\n" . $_Post['bottom']; 
  </code></pre>
  
  <p>for the purpose of using that newline char as a delimiter for explode later in my program like so: </p>
  
  <pre><code>$arrayOfTextSplitByNewlines = explode("\n", $text); 
  </code></pre>
  
  <p>My issue is that the newlines I add to the string aren't being recognized by explode as newline chars, rather they're being treated as string literals.  i've tried single quotes, double quotes, escaping the newline, etc. but for some reason, they're just strings.  Any insight as to what I'm doing wrong?  </p>