Reply to Re: XML create with PHP 5 help

Your name:

Reply:


Posted by Gary Quiring on 05/17/05 16:34

On Tue, 17 May 2005 14:24:19 +0100, "Alistair Baillie SS2002"
<abaillie@cis.strath.ac.uk> wrote:

>You just echo it out to the browser like that, and send the XML content
>header.
>
>(Or save it into a variable, for storing into a file)
>
>eg:
>
><?php
>header("Content-type: text/xml");
>echo "
><response>\n
> <data>\n
> <parts>\n
> <part>\n
> <number>bla</number>\n
> </part>\n
> </parts>\n
> </data>\n
></response>";
>?>
>
My output string will vary on the input I need to respond to. That kind of
creation makes it difficult to modify and add childs.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация