title: Adding Hidden Value On UL and LI Tags, How?
body: <p>I have multiple options like this :</p>
  
  <pre><code>&lt;li&gt;
  &lt;a href="#" title="" class="selected"&gt;&lt;span class="to-admin"&gt;Administrator&lt;/span&gt;&lt;/a&gt;
  &lt;input id="shareto" type="hidden" value="0-1" name="shareto"&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;a href="#" title=""&gt;&lt;span class="to-finance"&gt;Finance&lt;/span&gt;&lt;/a&gt;
  &lt;input id="shareto" type="hidden" value="1-1" name="shareto"&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;a href="#" title=""&gt;&lt;span class="to-technician"&gt;Technician&lt;/span&gt;&lt;/a&gt;
  &lt;input id="shareto" type="hidden" value="1-0" name="shareto"&gt;
  &lt;/li&gt;
  &lt;li&gt;
  &lt;a href="#" title=""&gt;&lt;span class="to-lawyer"&gt;Legal&lt;/span&gt;&lt;/a&gt;
  &lt;input id="shareto" type="hidden" value="0-0" name="shareto"&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>and now I want to 'catch' that variable using this PHP :</p>
  
  <pre><code>$Type = $_POST['shareto'];
  </code></pre>
  
  <p>why I always get the last value, no matter what option I choose? how to do it correctly? thanks before.</p>