Image path with php variable as height and width.
I have a few module icons, and in the database the full path is placed in there and its called onto the website in its entirity.
It was working fine until i wanted to control the height and width through variables and then the icon no longer shows.
This is the image code and path as I have it in the database.
Which worked fine with the following code below, until i wanted to control the height and width through php.
<img src="images/ModuleIcons/Colour/food.png" alt="FoodCheck Module - Certified" border="0" class="moduleIcon" height="<?= $icon_Height ?>" width="<?= $icon_Width ?>" />
But now the icon wont show at all.