DeathStar Posted March 3, 2007 Share Posted March 3, 2007 Hi I have this problem I always get and can never understand! I display an image like this: print "<img scr='image.png'>"; But sometimes the image will just not appear the image everythingn is correct but the image will just not display! any one knows why this happens? This is really getting a pain. Link to comment https://forums.phpfreaks.com/topic/41051-solved-image-trouble/ Share on other sites More sharing options...
LazyJones Posted March 3, 2007 Share Posted March 3, 2007 maybe src='' would work better Link to comment https://forums.phpfreaks.com/topic/41051-solved-image-trouble/#findComment-198822 Share on other sites More sharing options...
DeathStar Posted March 3, 2007 Author Share Posted March 3, 2007 scr=" will give an error because its in between print " "; or wont it? Link to comment https://forums.phpfreaks.com/topic/41051-solved-image-trouble/#findComment-198823 Share on other sites More sharing options...
Barand Posted March 3, 2007 Share Posted March 3, 2007 I believe he was refering to your use of "scr" instead of "src" Link to comment https://forums.phpfreaks.com/topic/41051-solved-image-trouble/#findComment-198828 Share on other sites More sharing options...
DeathStar Posted March 3, 2007 Author Share Posted March 3, 2007 ok.. I never learned src before! :-\ Why does that work and scr doesnt? Link to comment https://forums.phpfreaks.com/topic/41051-solved-image-trouble/#findComment-198831 Share on other sites More sharing options...
Barand Posted March 3, 2007 Share Posted March 3, 2007 for the same reason that <MIG src='xxx.png'> wouldn't work. MIG needs to be IMG and SCR nees to be SRC (abbreviation of "source") http://htmlhelp.com/reference/html40/special/img.html Link to comment https://forums.phpfreaks.com/topic/41051-solved-image-trouble/#findComment-198834 Share on other sites More sharing options...
DeathStar Posted March 3, 2007 Author Share Posted March 3, 2007 ok.. Link to comment https://forums.phpfreaks.com/topic/41051-solved-image-trouble/#findComment-198836 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.