title: How to split the array keyword value separated by commas in PHP?
body: <p>I have an array in $_POST:</p>
  
  <pre><code>Array ( [tags] =&gt; Javascript,PHP,Java,C++,Python) 
  </code></pre>
  
  <p>How can i convert this Array into Array like this:</p>
  
  <pre><code>Array ( [tag1] =&gt; Javascript [tag2] =&gt; PHP [tag3] =&gt; Java [tag4] =&gt; C++ [tag5] =&gt; Python)
  </code></pre>
  
  <p>I guess i need to use regexp to remove the commas and do split in "foreach as".. But i'm so newbie in PHP... Please help me </p>