Results 1 to 10 of 10
Jun 25, 2013, 04:50 #1
- Join Date
- Feb 2006
- Chepstow, South Wales
- 0 Post(s)
- 0 Thread(s)
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.
<img src="images/ModuleIcons/Colour/food.png" alt="FoodCheck Module - Certified" border="0" class="moduleIcon" height="<?= $icon_Height ?>" width="<?= $icon_Width ?>" />