Jump to content

Recommended Posts

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 [url=http://www.briancomeau.net/WDT/forum/admin/news_puller.php]here[/url]. 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 [url=http://www.westerndaytraders.com]here[/url]. 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
Link to comment
https://forums.phpfreaks.com/topic/13660-php-xml-flash/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.