title: How to get a text field value from the form in PHP by using jQuery Tagit
body: <p>I am using the <a href="http://webspirited.com/tagit/" rel="nofollow">JQuery Tags Plugin</a> and when user enter some tags by comma separated then i want to get those tags after form submit by using PHP.</p>
  
  <p>my coding...</p>
  
  <pre><code>&lt;?php       
  if(isset($_REQUEST['submit_tag'])) {
      print_r($_REQUEST['tags']);     
  }
  ?&gt;
  &lt;!-- tags --&gt;
  &lt;script src="http://webspirited.com/tagit/demo/js/jquery.1.7.2.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://webspirited.com/tagit/demo/js/jquery-ui.1.8.20.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://webspirited.com/tagit/js/tagit.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" type="text/css" href="http://webspirited.com/tagit/demo/css/jquery-ui-base-1.8.20.css"&gt;
  &lt;link rel="stylesheet" type="text/css" href="http://webspirited.com/tagit/css/tagit-awesome-blue.css"&gt;
  &lt;script type="text/javascript"&gt;
      $(function () {
          $('#demo3').tagit({triggerKeys:['enter', 'comma', 'tab'], select:true});     
  
          $('#demo3GetTags').click(function () {
              showTags($('#demo3').tagit('tags'))
          });
  
          function showTags(tags) {
              console.log(tags);
              var string = "Tags (label : value)\r\n";
              string += "--------\r\n";
              for (var i in tags)
                  string += tags[i].label + " : " + tags[i].value + "\r\n";
              alert(string);
          }
      });
  &lt;/script&gt;
  &lt;!-- tags --&gt;
  &lt;form method="post" id="add_tag" action="" name="add_tag"&gt;
      &lt;button id="demo3GetTags" value="Get Tags"&gt;Get Tags&lt;/button&gt;
      &lt;ul id="demo3" name="tags[]"&gt;&lt;/ul&gt;
      &lt;br /&gt;
      &lt;input type="submit" name="submit_tag" value="Submit Tag" /&gt;
  &lt;/form&gt;
  </code></pre>