title: Assign "div id" value to the variable php
body: <p>I have a div on my page '.php'</p>
  
  <pre><code>&lt;div id="force_id"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>This prints an id for each product on the page. Ex: 126500</p>
  
  <p>How do I assign this value of the other PHP variable (not click, on load for example)</p>
  
  <p>I use it here :</p>
  
  <pre><code>$limit = ??????   (Value should be the id value here. For example 126500)
  $plans = mysql_fetch_array(mysql_query("select * from motors WHERE prod_id = '$limit'"));
  </code></pre>
  
  <p>Thank you in advance ...</p>