Hi guys, as the title said i am trying to use php to get the height of a < 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
DivHeight = document.getElementById("TheDiv").offsetHeight
but i couldn't find any that uses php to do so.