There are 2 ways that i make xml files with php.
1. Use domxml to make the docs. (RTM this is somewhat complex.)
2. Just create it similar to html but use xml tags.
The second way is really easy.
1. Make sure to send header content type as text/xml.
header( "Content-Type: text/xml" );
2
On Jul 14, 2003, "Jeffrey Fitzgerald" claimed that:
|
|Looking for direction PHP and XML. I have a need to build a simple
|XML doc from a PHP set of form vars. Any tips or examples are greatly
|appreciated.
|
You mean something like
\n");
print ("\n");
print (" \n");
print (" {$_POST['venuena
Looking for direction PHP and XML. I have a need to build a simple XML
doc from a PHP set of form vars. Any tips or examples are greatly appreciated.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo