Create php variables from a single input : <p>I have this input:</p>

<pre><code>&lt;input name="an_input" id="an_input"&gt;
</code></pre>

<p>An user write in the input field some words separated by comma.</p>

<p>Let's say he introduces milk, coffee, tea.</p>

<p>I want to create a php variable for each word:</p>

<pre><code>$milk = "milk";
$coffe = "coffe";
$tea = "tea";
</code></pre>
