yes, echo the xml but send a header telling the browser it's xml:

header("Content-Type: text/xml");



"Olivier Masudi" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
>
> http://www.test.com/test.php?orderid=xyz
>
>
> test.php has to make a request to DB mysql and return a xml page like this
:
>
> <DOCTYPE=....>
> <orderID="xyz"
> amount="1234"
> currency="BEF">
>
> How can I do that ?
>  Should I just use echo  ?
>
>
> Help
>
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to