title: php - how can I retrieve a div tag attribute value
body: <p>I have a div which can be hidden or not, depending on the user. That div has an attribute called 'attrLoc'. What I would like is to be abble to retrieve that attribute value from php. Hope someone can help. Thank you in advance for your replies. Cheers. Marc.</p>
  
  <p>My HTML:</p>
  
  <pre><code>&lt;div id="btn-loc" class="hidden" attrLoc="1"&gt;
  ...
  &lt;/div&gt;
  </code></pre>