title: how to get a clicked value of the tab in php
body: <p>when the user clicks li(tab) i need to get the value of li in post php to display the tab content which is based on the submitted value of tab </p>
  
  <pre><code> &lt;div class="row"&gt; 
              &lt;div class="tab"&gt;
                      &lt;ul class="nav nav-tabs"&gt; 
                              &lt;li class="active myisp" data-value="overall" style="margin-left:1cm;" &gt; 
                                  &lt;a href="#overall_tab" data-toggle="tab" aria-expanded="true"&gt; 
                                    &lt;span&gt;&lt;i class="fa fa-list fa-1x text-info"&gt;&lt;/i&gt;&lt;/span&gt; 
                                    &lt;span&gt;Overall&lt;/span&gt; 
                                  &lt;/a&gt; 
                              &lt;/li&gt; 
  
                      &lt;?php $isp_tab=mysql_query("select distinct(isp) from red_dgid_info");
                          while($result=mysql_fetch_array($isp_tab))
                          { 
                          $isp_value = $result[0];
                            echo '&lt;li class="myisp" data-value='.$isp_value.'&gt; 
                                      &lt;a href="#isp_value_tab" data-toggle="tab" aria-expanded="false"&gt; 
                                          &lt;span&gt;&lt;i class="fa fa-list fa-1x text-info"&gt;&lt;/i&gt;&lt;/span&gt; 
                                          &lt;span&gt;'.$isp_value.'&lt;/span&gt; 
                                      &lt;/a&gt; 
                                  &lt;/li&gt; ';
                          }
                      ?&gt;
                      &lt;/ul&gt; 
             &lt;/div&gt;
   &lt;/div&gt;
  </code></pre>