mysql->php->xml = fault..

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
peppelorum
Forum Newbie
Posts: 12
Joined: Sun Jul 21, 2002 3:19 pm
Location: Leksand, Sweden

mysql->php->xml = fault..

Post by peppelorum »

Trying to parse a xml-page that is generated by a php-script but it doesn't work..
I use for example this script to generate the xml-file, http://www.phpdeveloper.org/view_tut.php?id=51
and this script to parse the xml, http://www.phpdeveloper.org/view_tut.php?id=58
The xml works fine and IE doesn't complain when viewing it, but when it try to parse it says:
"XML error: not well-formed (invalid token) at line 1"
But if I save the file into a static xml-file then it works, so my question is, what goes wrong?
Post Reply