I dont know how to write to an XML FILE in php.Can anyone help me to let me know by giving a simple example in xml.Any help would be appreciated..An example in xml is shown below
<?xml version="1.0" encoding="UTF-8"?>
<table>
<order>
<id>1</id>
<name>john</name>
<age>23</age>
</order>
<order>
<id>2</id>
<name>patrick</name>
<age>22</age>
</order>
<order>
<id>2</id>
<name>lawrence</name>
<age>21</age>
</order>
</table>