Receive form input data with PHP POST
<p>I'm using the jQuery tag-it plugin, which basically has an input field. Everything works well, but I am unable to receive the input field value by submitting the form with PHP.</p>

<p>Here's the form part:</p>

<pre><code>&lt;form action="&lt;?=$PHP_SELF?&gt;" method="post"&gt;        
        &lt;div class="line"&gt;
            &lt;label for="tags"&gt;Tags&lt;/label&gt;
            &lt;ul id="mytags"&gt;&lt;/ul&gt;
        &lt;/div&gt;      
       &lt;input name="submit" value="Submit" type="submit" /&gt;
&lt;/form&gt;
</code></pre>

<p>Here is PHP part:</p>

<pre><code>&lt;?
    if ($_POST[submit]) {

    $tags = $_POST[mytags];
    echo $tags;

    }

    ?&gt;
</code></pre>

<p>The demo of the plugin is here: <a href="http://levycarneiro.com/projects/tag-it/example.html" rel="nofollow">http://levycarneiro.com/projects/tag-it/example.html</a>
and the javascript code is here: <a href="http://levycarneiro.com/projects/tag-it/js/tag-it.js" rel="nofollow">http://levycarneiro.com/projects/tag-it/js/tag-it.js</a>
I'll be thankful for any help.</p>
