hedgehog90 Posted January 11, 2010 Share Posted January 11, 2010 Not really much else to explain. Here's the site I own: www.gpstudios.com/index.php Below the news blog is a Twitter feed. There is a link in the twitter feed - http://bit.ly/7KuPKM, that when hovered over by the mouse is "http://www.gpstudios.com/%22http://bit.ly/7KuPKM%22" in internet explorer. In google chrome however, it is simply http://bit.ly/7KuPKM. So. what's going on? How do I fix it for internet explorer? Any help much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/188102-simple-hyperlink-not-working-in-ie-but-is-working-in-chrome/ Share on other sites More sharing options...
Lamez Posted January 11, 2010 Share Posted January 11, 2010 you forgot to post some code. Quote Link to comment https://forums.phpfreaks.com/topic/188102-simple-hyperlink-not-working-in-ie-but-is-working-in-chrome/#findComment-993054 Share on other sites More sharing options...
PHP Monkeh Posted January 11, 2010 Share Posted January 11, 2010 It's happening in Firefox as well hedgehog. I'm guessing you're running html_entities() or something on the values pulled from twitter? As the browser is outputting this as the URL: <a href="http://twitpic.com/xor4p">http://twitpic.com/xor4p</a> When obviously that should be: <a href="http://twitpic.com/xor4p">http://twitpic.com/xor4p</a> Quote Link to comment https://forums.phpfreaks.com/topic/188102-simple-hyperlink-not-working-in-ie-but-is-working-in-chrome/#findComment-993153 Share on other sites More sharing options...
hedgehog90 Posted January 12, 2010 Author Share Posted January 12, 2010 Worked it out. if you view the source of where i extract the data on twitter (http://search.twitter.com/search.atom?q=from:gp_studios&rpp=1), you'll see it has used "s, >s and <s. My function extract the data was already replacing <s and >s, but not "s. I added it in and it now works perfectly. Thanks for pointing me in the right direction Quote Link to comment https://forums.phpfreaks.com/topic/188102-simple-hyperlink-not-working-in-ie-but-is-working-in-chrome/#findComment-993223 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.