Jump to content

Fixing end of content


Canman2005

Recommended Posts

Hi all

 

I'm pulling part of a RSS feed into my PHP page, the part of the RSS feed im pulling in is a news article.

 

Everything works fine, apart from the last part of the artcle that is being pulled in looks like

 

<a title="News" href="http://www.do 

 

so there is basically half a link at the end of the article.

 

So my question is, is there a way to finish off or delete any incomplete HTML at the end of a block of code?

 

Hope that makes some kind of sense

 

Thanks loads in advance

 

Mark

 

Link to comment
https://forums.phpfreaks.com/topic/162173-fixing-end-of-content/
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.