title: Textarea lines to array using php
body: <p>I have a php variable that contain value of textarea as below.</p>
  
  <pre><code>Name:Jay
  Email:jayviru@demo.com
  Contact:9876541230
  </code></pre>
  
  <p>Now I want this lines to in array as below.</p>
  
  <pre><code>Array
  (
  [Name] =&gt;Jay
  [Email] =&gt;jayviru@demo.com
  [Contact] =&gt;9876541230
  )
  </code></pre>
  
  <p>I tried below,but won't worked:-</p>
  
  <pre><code>$test=explode("&lt;br /&gt;", $text); 
  print_r($test);
  </code></pre>