Guest Posted July 31, 2007 Share Posted July 31, 2007 I have an image that works without a space in it but then if you add that space it doesnt work i can copy and paste the code and it will work but when you load the page it doesnt i know it has somthingto do with the space character but dont know how to fix it. working http://www.myareabusinesses.com/fl/leesburg not working http://www.myareabusinesses.com/fl/altamonte%20springs Can someone please explain this to me and even possibly how to fix it thank you Quote Link to comment https://forums.phpfreaks.com/topic/62660-solved-weird-space-firfox-only/ Share on other sites More sharing options...
soycharliente Posted July 31, 2007 Share Posted July 31, 2007 We need to code to fix/diagnose a problem. Quote Link to comment https://forums.phpfreaks.com/topic/62660-solved-weird-space-firfox-only/#findComment-311850 Share on other sites More sharing options...
Guest Posted July 31, 2007 Share Posted July 31, 2007 I dont know eactly what code you need but heres some Working background-image:url(http://www.myareabusinesses.com/fl/leesburg/images/flash_bg.jpg); Not Working background-image:url(http://www.myareabusinesses.com/fl/altamonte springs/images/flash_bg.jpg); Its weird that all the other images are the same way but there working Quote Link to comment https://forums.phpfreaks.com/topic/62660-solved-weird-space-firfox-only/#findComment-311873 Share on other sites More sharing options...
Guest Posted July 31, 2007 Share Posted July 31, 2007 Nevermind i did a quick fix here it is i dont know why this worked but it did $website = str_replace (" ", "%20", $website); Quote Link to comment https://forums.phpfreaks.com/topic/62660-solved-weird-space-firfox-only/#findComment-311875 Share on other sites More sharing options...
soycharliente Posted July 31, 2007 Share Posted July 31, 2007 Don't use folders with spaces. Just put an underscore where you want a space. You won't have to do that again. Quote Link to comment https://forums.phpfreaks.com/topic/62660-solved-weird-space-firfox-only/#findComment-311884 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.