title: Passing a value from bootstrap data-id to a php variable
body: <p>I have a dropdown menu with several months values. This is an example of one of them.</p>
  
  <pre><code>&lt;li data-toggle="modal" data-id="January" class="random " href="#AddMonth"&gt;January&lt;/li&gt;
  </code></pre>
  
  <p>I would like to pass the "January" value to a php variable. Something like this</p>
  
  <pre><code>&lt;div class="modal fade" id="AddMonth" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
  &lt;div class="modal-dialog"&gt;
  &lt;div class="modal-content"&gt;
    &lt;div class="modal-header"&gt;
      &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&amp;times;&lt;/button&gt;
      &lt;h4 class="modal-title" id="myModalLabel"&gt;Update your information&lt;/h4&gt;
    &lt;/div&gt;
    &lt;div class="modal-body"&gt;
        &lt;?php
           // $month  = ? // month will contain the variable that was pass from data-id
           MethodSendMonthData($month);
  
         ?&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>I am not sure how could I achieve this?</p>