Heres my problem. I have a PHP and an XML file. The XML file is actually a PHP file that goes into mysql and fetches data. The PHP script reads the XML file and parses it.
I can get it to work fine on a static XML document, but I get this error with the dynamic one:
my xml file:
When viewed in Firefox (truncated):
And my PHP file:
I can get it to work fine on a static XML document, but I get this error with the dynamic one:
| Quote: |
|
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 13: parser error : Start tag expected, '<' not found in D:\www\viewxml.php on line 3 Warning: simplexml_load_string() [function.simplexml-load-string]: if(mysqli_num_rows($query) != 0)echo "<?xml version='1.0' standalone='yes'?>\n in D:\www\viewxml.php on line 3 Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in D:\www\viewxml.php on line 3 |
my xml file:
| Quote: | ||
|
When viewed in Firefox (truncated):
| Quote: | ||
|
And my PHP file:
| Quote: | ||
|
