You are here: Re: php and XML question « PHP Programming Language « IT news, forums, messages
Re: php and XML question

Posted by amagondes on 11/18/66 11:43

Like Jon said just print the xml. Here is an example:

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

echo "<?xml version=\"1.0\" ?>\n";

print "<response>\n";
print " <test>This is a test</test>\n";
print "</response>\n";

?>

That way you can populate the content on the fly from a db or whatever.

 

Navigation:

[Reply to this 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

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