0

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>

2
Contributors
4
Replies
5
Views
5 Years
Discussion Span
Last Post by bavenbabu
0

Show your code.

thanks ...i myself did the code and got the expected result

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.