Jump to content


Photo

PHP, XML, Flash


  • Please log in to reply
No replies to this topic

#1 DaVuLf

DaVuLf
  • Members
  • PipPipPip
  • Advanced Member
  • 124 posts

Posted 04 July 2006 - 05:53 PM

Hey everyone,

I couldn't find a more appropriate place to make this post, so here it ended up.

What I have is a PHP file that pulls information from a database, and then prints the information in an xml format. This can be viewed here. If you view the source, note the XML and the spacing within the 'news' child.

Now, the problem I am having is back on the main site here. Notice how the spacing from the XML is interpreted as being far more strict. I'm wondering how to add paragraph breaks to the XML so that it can be interpreted properly. Actually, if that can't be done, then how to remove the line breaks from the outputted XML completely. This would leave the post on the forum formatted properly, but the PHP would produce acceptable XML.

Please let me know your thoughts,
DaVULf




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users