Re: XML to HTML?!
| From: | Fredrik Arild Takle | Date: | Wed, 01 May 2002 21:39:28 +0000 |
| Subject: | Re: XML to HTML?! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95610@lists.php.net to get a copy of this message | ||
"Miguel Cruz" <mnc@stoic.net> wrote in message
news:Pine.LNX.4.44.0205011207520.3512-100000@stoic.net...
> On Wed, 1 May 2002, Fredrik Arild Takle wrote:
> >>>Wrap into a output buffer. ob_start, ob_get_contents
> >
> > This was neat.
> > I did:
> >
> > ob_start();
> > $myvar = ob_get_contents();
> >
> > But it still outputs the page, can I disable that?
>
> Read the output buffering section of the manual. Look for the word flush.
Correct me if I am wrong, but isn't flush() a function to output the buffer?
What I want to do is to prevent xml_parse() to output the html.
Hints?
Best Regards
Fredrik