SimpleXML add a node

From: Date: Fri, 11 Mar 2005 17:55:59 +0000
Subject: SimpleXML add a node
Groups: php.general 
Request: Send a blank email to php-general+get-210527@lists.php.net to get a copy of this message
Hi, I probably have a stupid question... how can I add a node into an existing simplexml object. I create the object by $xml = simplexml_load_file('test.xml'); the xml file shows like this: <?xml version='1.0'?> <config> </config> Thanks for help...

« previous php.general (#210527) next »