title: Getting div height with php and applying it to an image
body: <p>as the title said i am trying to use php to get the height of a &lt; div> element then with that value, applying to an image. This would actually shrink the image or stretch the image. As i am still new to coding, i searched online and what i found is only solution of doing it in javascript, which is something like this</p>
  
  <pre><code>DivHeight = document.getElementById("TheDiv").offsetHeight
  </code></pre>
  
  <p>but i couldn't find any that uses php to do so.</p>