i have an xml file like.
<root><item>first item</item><item>second item</item><item>third item</item></root>
. I want to post a text to a php and the php will have to read the xml file and add that text as a new item. how to do that using simple xml in php?