Posted by Rik on 07/17/07 15:21
On Tue, 17 Jul 2007 17:17:34 +0200, SA SA <suacharya@gmail.com> wrote:
> Hello,
> I need help from php expert. I have simple php page which retrieves
> data from MySql and outputs as xml format. Everything works but in xml
> file it leave a Blank like at the beginning of the file. Which causes
> xml parser to go nuts. How do i avoid that space? I read on other post
> - php header call usually does exhibit that behaviour but i tried
> taking header our but did not make any difference. Here is a sample:
PHP does not ouput anything you don't tell it to do. Check all your
(included) files for newlines outside <?php ?> tags. Probably in config.php
--
Rik Wasmus
Navigation:
[Reply to this message]
|