ydoisuck Posted March 22, 2011 Share Posted March 22, 2011 How do i display an image from my directory?!? :S I don't mean to be lazy and just ask people on here, I have researched it online but can't seem to find a quick simple answer. Thanks People!! Link to comment https://forums.phpfreaks.com/topic/231382-really-simple-quick-q/ Share on other sites More sharing options...
MatthewJ Posted March 22, 2011 Share Posted March 22, 2011 With the image tag? Link to comment https://forums.phpfreaks.com/topic/231382-really-simple-quick-q/#findComment-1190800 Share on other sites More sharing options...
ydoisuck Posted March 22, 2011 Author Share Posted March 22, 2011 yh no worries, I worked it out i was being a bit dumb. For those who didn't know (can't imagine there are a lot of you) it was: echo '<img src="images/yourimage.jpg" />'; Link to comment https://forums.phpfreaks.com/topic/231382-really-simple-quick-q/#findComment-1190802 Share on other sites More sharing options...
MrXHellboy Posted March 22, 2011 Share Posted March 22, 2011 Dont forget the alt="" attribute = required Link to comment https://forums.phpfreaks.com/topic/231382-really-simple-quick-q/#findComment-1190811 Share on other sites More sharing options...
Maq Posted March 22, 2011 Share Posted March 22, 2011 I have researched it online but can't seem to find a quick simple answer. That's a little hard to believe. Link to comment https://forums.phpfreaks.com/topic/231382-really-simple-quick-q/#findComment-1190916 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.