mysql and xml formate

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
Lphp
Forum Commoner
Posts: 74
Joined: Sun Jun 26, 2011 9:56 pm

mysql and xml formate

Post by Lphp »

try the example on
http://www.kirupa.com/web/mysql_xml_php.htm
get error
XML Parsing Error: XML or text declaration not at start of entity
Location: http://localhost/Basic2/xml/dbxml.php
Line Number 2, Column 1:<?xml version="1.0"?>
^
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: mysql and xml formate

Post by social_experiment »

What does the xml file look like?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Post Reply