Jump to content

[SOLVED] code help!


fjbarker

Recommended Posts

I've got a problem that is only showing up in IE....

Here's my echo statement:

 
echo "<a href=\"".($this->link)."\" target=\"".($this->target)."\">".($this->title)."</a>";

This is the echo statement from my RSS parser....

link = link from rss feed

target = target for the link (_blank or _self) to control what window the link opens in

title = text for the link

 

The code runs and works fine in Firefox but in IE the _self ("target"=_self) is not reconized in IE

Here is the code that is generated by the PHP

 

  <a href="http://www.google.com
		" target="_self
		">Google
		</a>

 

Why is it placed on different lines.... I know this shouldn't matter but, for some reason it effects IE

 

Link to comment
https://forums.phpfreaks.com/topic/105457-solved-code-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.