Re: Reading an XML outputting PHP file as XML
| From: | Jochem Maas | Date: | Fri, 02 Jun 2006 13:44:04 +0000 |
| Subject: | Re: Reading an XML outputting PHP file as XML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237262@lists.php.net to get a copy of this message | ||
IG wrote:
Hi. I have a PHP file that outputs as XML from a database. i have used the header() function to output the correct header but when I use the simplexml function it is trying to parse the php file itself and not the output of the php file. I can't get my head round this. Can anyone help me?your running the simplexml function on the php file and not its output.